[#bsl-hashtable-count] = xref:bsl.adoc[bsl]::xref:bsl/hashtable.adoc[hashtable]::count :relfileprefix: ../../ :mrdocs: Return the number of elements with the specified `__key`. == Synopsis Declared in `<bslstp_hashtable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hashtable/size_type.adoc[size_type] count(xref:bsl/hashtable/key_type.adoc[key_type] const& __key) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#