cudgel one's brains about/over vs put one's mind to

cudgel one's brains about/over

put one's mind to

How often have the words cudgel one's brains about/over and put one's mind to occurred in a corpus of books? (source: Google Ngram Viewer )