lose one's cool vs pitch a fit

lose one's cool

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

pitch a fit

verb
  • To become angry, enraged, or upset; to act or react with an outburst, as by shouting, swearing, etc. 

How often have the words lose one's cool and pitch a fit occurred in a corpus of books? (source: Google Ngram Viewer )