give someone a mouthful vs rap over the knuckles

give someone a mouthful

rap over the knuckles

How often have the words give someone a mouthful and rap over the knuckles occurred in a corpus of books? (source: Google Ngram Viewer )