contrive vs ghostwrite

contrive

verb
  • To invent by an exercise of ingenuity; to devise 

  • To invent, to make devices; to form designs especially by improvisation. 

  • To project, cast, or set forth, as in a projection of light. 

ghostwrite

verb
  • To author a literary work or speech in the place of another. 

  • To write under the name of another (especially literary works). 

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