in a jam vs with one's back against the wall

in a jam

with one's back against the wall

How often have the words in a jam and with one's back against the wall occurred in a corpus of books? (source: Google Ngram Viewer )