go off the deep end vs lose one’s cool

go off the deep end

lose one’s cool

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