[#bsl-multiset-03-count-064]
= xref:bsl.adoc[bsl]::xref:bsl/multiset-03.adoc[multiset]::count
:relfileprefix: ../../
:mrdocs:

Return the number of `value&lowbar;type` objects within this multiset that are equivalent to the specified `key`&period;

== Synopses

Declared in `&lt;bslstl&lowbar;multiset&period;h&gt;`

Return the number of `value&lowbar;type` objects within this multiset that are equivalent to the specified `key`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/multiset-03/size_type.adoc[size&lowbar;type]
xref:bsl/multiset-03/count-04.adoc[count](xref:bsl/multiset-03/key_type.adoc[key&lowbar;type] const& key) const;
----

[.small]#xref:bsl/multiset-03/count-04.adoc[_» more&period;&period;&period;_]#

Return the number of `value&lowbar;type` objects within this multiset that are equivalent to the specified `key`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
xref:bsl/multiset-03/size_type.adoc[size&lowbar;type]
xref:bsl/multiset-03/count-06c.adoc[count](LOOKUP&lowbar;KEY const& key) const
requires BloombergLP&colon;&colon;bslmf&colon;&colon;IsTransparentPredicate&lt;COMPARATOR,
                                                   LOOKUP&lowbar;KEY&gt;&colon;&colon;value;
----

[.small]#xref:bsl/multiset-03/count-06c.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
