pat oneself on the back vs sing one's own praises

pat oneself on the back

sing one's own praises

How often have the words pat oneself on the back and sing one's own praises occurred in a corpus of books? (source: Google Ngram Viewer )