notoriety vs popularity

notoriety

noun
  • An infamous or notorious condition or reputation. 

popularity

noun
  • The quality or state of being popular; especially, the state of being esteemed by, or of being in favor with, the people at large 

How often have the words notoriety and popularity occurred in a corpus of books? (source: Google Ngram Viewer )