curse of Tom vs the flag is up

curse of Tom

the flag is up

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