make an example of vs rake someone over the coals

make an example of

verb
  • To punish someone so as to give a warning to others. 

rake someone over the coals

verb
  • To berate someone at length, usually from a position of authority or moral authority. 

How often have the words make an example of and rake someone over the coals occurred in a corpus of books? (source: Google Ngram Viewer )