egotism vs pomposity

egotism

noun
  • The result or product of being egoistic. 

  • A belief that one is superior to or more important than others. 

  • Egoism (belief that behavior should be directed towards one's self-interest). 

  • A tendency to talk excessively about oneself. 

pomposity

noun
  • The quality of being pompous; self-importance. 

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