frightened out of one's wits vs in a (blue) funk

frightened out of one's wits

in a (blue) funk

How often have the words frightened out of one's wits and in a (blue) funk occurred in a corpus of books? (source: Google Ngram Viewer )