contrivance vs figment of one's imagination

contrivance

noun
  • Something overly artful or artificial. 

  • A means, such as an elaborate plan or strategy, to accomplish a certain objective. 

  • A (mechanical) device to perform a certain task. 

figment of one's imagination

noun
  • A product of the imagination. 

How often have the words contrivance and figment of one's imagination occurred in a corpus of books? (source: Google Ngram Viewer )