lose one's cool vs lose one's shit

lose one's cool

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

lose one's shit

verb
  • To lose one's temper. 

  • To have a sudden burst of emotion, regardless of the type of feeling. 

  • To break down in laughter. 

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