having problems vs in a bad way

having problems

in a bad way

prep
  • Doing badly; in a state of ill health or misfortune. 

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