ghostwriter vs screenwriter

ghostwriter

noun
  • A professional writer who is paid to write material that is officially credited to another person; one who writes on behalf of someone else, often for a celebrity. 

  • Smith was listed as the author of his autobiography, but a ghostwriter did most of the work. 

screenwriter

noun
  • One who writes for the screen, who writes drama for film or television; especially a professional who knows the conventions appropriate to such work. 

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