[#bsl-map-0c7-count-0b] = xref:bsl.adoc[bsl]::xref:bsl/map-0c7.adoc[map<int, pair<shared_ptr<Statistics>, shared_ptr<Collector<OsLinux>>>>]::count :relfileprefix: ../../ :mrdocs: Return the number of `value_type` objects within this map whose keys are equivalent to the specified `key`. Note that since a map maintains unique keys, the returned value will be either 0 or 1. == Synopsis Declared in `<bslstl_map.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/map-0c7/size_type.adoc[size_type] count(xref:bsl/map-0c7/key_type.adoc[key_type] const& key) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#