cudgel one's brains about/over vs devote oneself to

cudgel one's brains about/over

devote oneself to

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