condolences vs undertaking

condolences

noun
  • comfort, support, or sympathy offered especially to the family and friends of somebody who has died. 

intj
  • Expressing sympathy to someone, especially after learning of a close death. 

undertaking

noun
  • The business of an undertaker, or the management of funerals. 

  • A promise or pledge; a guarantee. 

  • That which is undertaken; any business, work, or project which a person engages in, or attempts to perform; an enterprise. 

  • The act of one who undertakes (in either sense). 

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