right on vs that’s the ticket

right on

intj
  • An expression of enthusiasm or encouragement. 

adj
  • Correct and apropos; perfectly true. 

that’s the ticket

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