barking mad vs mentally ill

barking mad

adj
  • Completely insane. 

mentally ill

adj
  • Having a psychological disorder. 

How often have the words barking mad and mentally ill occurred in a corpus of books? (source: Google Ngram Viewer )