in a jam vs in a mess

in a jam

in a mess

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