hospital vs lunatic asylum

hospital

noun
  • A large medical facility, usually in a building with multiple floors, where seriously ill or injured patients are given extensive medical and/or surgical treatment. 

  • A building founded for the long-term care of its residents, such as an almshouse. The residents may have no physical ailments, but simply need financial support. 

lunatic asylum

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