commiserate vs gloat

commiserate

verb
  • To feel or express compassion or sympathy for (someone or something). 

  • To offer condolences jointly with; express sympathy with. 

  • To sympathize; condole. 

gloat

verb
  • To exhibit a conspicuous (sometimes malevolent) pleasure or sense of self-satisfaction, often at an adversary's misfortune. 

  • To triumph, crow, relish, glory, revel. 

noun
  • An act or instance of gloating. 

How often have the words commiserate and gloat occurred in a corpus of books? (source: Google Ngram Viewer )