smart ass vs smarty pants

smart ass

noun
  • A person regarded with an obnoxiously determined advancement of one's own personality, wishes, or views. 

smarty pants

noun
  • A smart aleck or know-it-all. 

How often have the words smart ass and smarty pants occurred in a corpus of books? (source: Google Ngram Viewer )