rake someone over the coals vs take to task

rake someone over the coals

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

take to task

verb
  • To lecture, berate, admonish, or hold somebody accountable for his or her actions. 

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