give oneself airs vs pat oneself on the back

give oneself airs

verb
  • to act pretentiously, or in a snobbish manner; to swagger 

pat oneself on the back

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