legist vs pettifogger

legist

noun
  • One skilled in the law. 

  • A writer on law, a legislator, a lawmaker 

pettifogger

noun
  • An unscrupulous or unethical lawyer, especially one of lesser skill. 

  • Someone who quibbles over trivia, and raises petty, annoying objections and sophistry. 

How often have the words legist and pettifogger occurred in a corpus of books? (source: Google Ngram Viewer )