commander in chief vs commanding officer

commander in chief

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

commanding officer

noun
  • The officer in command of, and typically having ultimate authority over, a military unit. 

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