Doctor vs Professor

Doctor

noun
  • The title of an academic or medical doctor (a person who holds a doctorate); used before or instead of the doctor's name. 

Professor

noun
  • The title for someone who holds the professor job. 

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