metonymy

definition: substituting the name of an attribute or feature for the name of the thing itself (as in `they counted heads')
example:
speech part: noun
synonyms:

How metonymy is being used?