[#bsl-unordered_multiset-06c-count-007] = xref:bsl.adoc[bsl]::xref:bsl/unordered_multiset-06c.adoc[unordered_multiset]::count :relfileprefix: ../../ :mrdocs: Return the number of `value_type` objects within this unordered multiset that are equivalent to the specified `key`. The behavior is undefined unless `key` is equivalent to the elements of at most one equivalent‐key group in this unordered multiset. == Synopsis Declared in `<bslstl_unorderedmultiset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:bsl/unordered_multiset-06c/size_type.adoc[size_type] count(LOOKUP_KEY const& key) const requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#