commander in chief vs commander-in-chief

commander in chief

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

commander-in-chief

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