beat one’s brains vs pipedream

beat one’s brains

pipedream

How often have the words beat one’s brains and pipedream occurred in a corpus of books? (source: Google Ngram Viewer )