lose one's cool vs run around like a headless chicken

lose one's cool

verb
  • To become upset or disconcerted; to lose one's temper. 

run around like a headless chicken

How often have the words lose one's cool and run around like a headless chicken occurred in a corpus of books? (source: Google Ngram Viewer )