in a (blue) funk vs shitting bricks

in a (blue) funk

shitting bricks

How often have the words in a (blue) funk and shitting bricks occurred in a corpus of books? (source: Google Ngram Viewer )