take to task vs whinge about

take to task

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

whinge about

How often have the words take to task and whinge about occurred in a corpus of books? (source: Google Ngram Viewer )