profit by vs put to advantage

profit by

put to advantage

How often have the words profit by and put to advantage occurred in a corpus of books? (source: Google Ngram Viewer )