deliberate on vs put on one's thinking cap

deliberate on

put on one's thinking cap

How often have the words deliberate on and put on one's thinking cap occurred in a corpus of books? (source: Google Ngram Viewer )