glory in vs pat oneself on the back for

glory in

pat oneself on the back for

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