[#bsl-multiset-03-count-06c] = xref:bsl.adoc[bsl]::xref:bsl/multiset-03.adoc[multiset]::count :relfileprefix: ../../ :mrdocs: Return the number of `value_type` objects within this multiset that are equivalent to the specified `key`. == Synopsis Declared in `<bslstl_multiset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:bsl/multiset-03/size_type.adoc[size_type] count(LOOKUP_KEY const& key) const requires BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR, LOOKUP_KEY>::value; ---- == Description Note: implemented inline due to Sun CC compilation error. [.small]#Created with https://www.mrdocs.com[MrDocs]#