PI vs shamus

PI

shamus

noun
  • A private detective; originally, a policeman or police detective. 

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