metonymy vs synonymum

metonymy

noun
  • A metonym. 

  • The use of a single characteristic or part of an object, concept or phenomenon to identify the entire object, concept, phenomenon or a related object. 

synonymum

noun
  • Synonym. 

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