[#absl-linked_hash_map-count] = xref:absl.adoc[absl]::xref:absl/linked_hash_map.adoc[linked_hash_map]::count :relfileprefix: ../../ :mrdocs: Returns the number of elements with the given key. == Synopsis Declared in `<absl/container/linked_hash_map.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class K = xref:absl/linked_hash_map/key_type.adoc[key_type]> xref:absl/linked_hash_map/size_type.adoc[size_type] count(xref:absl/linked_hash_map.adoc[key_arg<K>] const& key) const; ---- == Return Value The number of matching elements (0 or 1). == Parameters [cols="1,4"] |=== | Name| Description | *key* | The key to count. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#