having problems vs heading for the rocks

having problems

heading for the rocks

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