give oneself a pat on the back for vs glory in

give oneself a pat on the back for

glory in

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