ad rem vs that’s the ticket

ad rem

adv
  • Pertinently; to the purpose. 

adj
  • Pertinent; relevant. 

that’s the ticket

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