nightshirt vs pyjamas

nightshirt

noun
  • A shirt-like garment (often oversized) that is worn to bed. 

pyjamas

noun
  • Britain standard spelling of pajamas (clothes for sleeping in). 

  • Britain standard spelling of pajamas (loose trousers worn by men and women in South Asia). 

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