cogitating vs imagining

cogitating

imagining

noun
  • Something imagined; a figment of the imagination. 

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