lunacy vs tomfoolery

lunacy

noun
  • insanity implying legal irresponsibility. 

  • a cyclical mental disease, apparently linked to the lunar phases 

  • Something deeply misguided. 

tomfoolery

noun
  • Foolish behaviour or speech. 

  • Jewellery. 

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