oddity vs trait

oddity

noun
  • An odd or strange thing or opinion. 

  • Strangeness. 

  • A strange person; an oddball. 

trait

noun
  • An identifying characteristic, habit or trend. 

  • An uninstantiable collection of methods that provides functionality to a class by using the class’s own interface. 

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