Returns the number of metadata elements in the list where the metadata key (the non-standard key) matches the key argument.
key
size_type count(const std::string& key) const;