cautionary tale vs folktale

cautionary tale

noun
  • A story, originally told in folklore, to warn its audience of a certain danger. 

folktale

noun
  • A tale or story that is part of the oral tradition of a people or a place. 

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