commander in chief vs head of state

commander in chief

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

head of state

noun
  • The chief public representative of a nation having duties, privileges and responsibilities varying greatly depending on the constitutional rules; a monarch in a monarchy, and often styled president in a republic, but variations such as collegiality exist. 

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