pat oneself on the back vs rub it in

pat oneself on the back

rub it in

verb
  • To add insult to injury; to emphasize one's strengths or another's weaknesses in a manner that degrades another. 

How often have the words pat oneself on the back and rub it in occurred in a corpus of books? (source: Google Ngram Viewer )