rack brains vs stew over

rack brains

stew over

How often have the words rack brains and stew over occurred in a corpus of books? (source: Google Ngram Viewer )