heading for disaster vs in a jam

heading for disaster

in a jam

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