commander-in-chief vs commanding officer

commander-in-chief

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 )