lunatic asylum vs mental institution

lunatic asylum

mental institution

noun
  • A psychiatric hospital, or the psychiatric ward of a hospital. 

How often have the words lunatic asylum and mental institution occurred in a corpus of books? (source: Google Ngram Viewer )