lose one’s cool vs lose one’s mind

lose one’s cool

lose one’s mind

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