in a hole vs in a jam

in a hole

in a jam

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