apt vs that’s the ticket

apt

adj
  • Ready; especially fitted or qualified (to do something); quick to learn. 

  • Suitable; appropriate; fit or fitted; suited. 

  • Having a habitual tendency; habitually liable or likely; disposed towards. 

noun
  • An apartment; a flat. 

that’s the ticket

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