in-joke vs shaggy-dog story

in-joke

noun
  • Synonym of inside joke (“a joke that is understood or meant to be understood only by certain people who are aware of the details”) 

shaggy-dog story

How often have the words in-joke and shaggy-dog story occurred in a corpus of books? (source: Google Ngram Viewer )