nightgown vs pajamas

nightgown

noun
  • A long loose robe worn mainly by women for sleeping in. 

  • A dressing gown. 

pajamas

noun
  • Clothes for wearing to bed and sleeping in, usually consisting of a loose-fitting shirt and pants/trousers. 

  • Loose-fitting trousers worn by both sexes in various southern Asian countries including India. 

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