Captain vs commander in chief

Captain

noun
  • An army officer title in most countries 

  • The title for someone who holds the captain job on a ship or other vessel. 

commander in chief

noun
  • Supreme commander of the armed forces of an entire country. 

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