pertinent vs that’s the ticket

pertinent

adj
  • Important with regard to (a subject or matter); pertaining; relevant. 

noun
  • A right that attaches to land, in Scots law. 

that’s the ticket

How often have the words pertinent and that’s the ticket occurred in a corpus of books? (source: Google Ngram Viewer )