give someone a rating vs tell someone off

give someone a rating

tell someone off

How often have the words give someone a rating and tell someone off occurred in a corpus of books? (source: Google Ngram Viewer )