curse of Tom vs flashing the red flag

curse of Tom

flashing the red flag

How often have the words curse of Tom and flashing the red flag occurred in a corpus of books? (source: Google Ngram Viewer )