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

apply oneself to

cudgel one's brains about/over

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