know-everything vs smart cookie

know-everything

noun
  • A highly knowledgeable person; expert. 

  • Synonym of know-it-all 

smart cookie

noun
  • An individual regarded as clever, astute, or judicious. 

How often have the words know-everything and smart cookie occurred in a corpus of books? (source: Google Ngram Viewer )