[#bsl-multiset-03-count-04] = 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"] ---- xref:bsl/multiset-03/size_type.adoc[size_type] count(xref:bsl/multiset-03/key_type.adoc[key_type] const& key) const; ---- == Description Note: implemented inline due to Sun CC compilation error. [.small]#Created with https://www.mrdocs.com[MrDocs]#