brood over vs put on one's thinking cap

brood over

put on one's thinking cap

How often have the words brood over and put on one's thinking cap occurred in a corpus of books? (source: Google Ngram Viewer )