in extremis vs terminally ill

in extremis

prep
  • In desperate circumstances. 

  • At the point of death. 

terminally ill

adj
  • Having an incurable condition that will lead to death. 

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