count

Returns the number of metadata elements in the list where the metadata key (the non-standard key) matches the key argument.

Syntax

size_type count(const std::string& key) const;