[#bsl-hash_multiset-count] = xref:bsl.adoc[bsl]::xref:bsl/hash_multiset.adoc[hash_multiset]::count :relfileprefix: ../../ :mrdocs: Return the number of elements equal to the specified `__key`. == Synopsis Declared in `<bslstp_hashset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hash_multiset/size_type.adoc[size_type] count(xref:bsl/hash_multiset/key_type.adoc[key_type] const& __key) const; ---- == Return Value number of elements matching `__key` == Parameters [cols="1,4"] |=== | Name| Description | *__key* | key to count |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#