pat oneself on the back vs triumph over

pat oneself on the back

triumph over

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