shaking like a leaf vs shitting bricks

shaking like a leaf

shitting bricks

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