consider closely vs rack one's brains about/over

consider closely

rack one's brains about/over

How often have the words consider closely and rack one's brains about/over occurred in a corpus of books? (source: Google Ngram Viewer )