oddity vs rarity

oddity

noun
  • A strange person; an oddball. 

  • Strangeness. 

  • An odd or strange thing or opinion. 

rarity

noun
  • A rare object. 

  • A measure of the scarcity of an object. 

  • Thinness; the property of having low density 

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