flip one’s lid vs lose one’s cool

flip one’s lid

lose one’s cool

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