size_type count(const Key& key) const;
The member function returns the number of elements x in the range [lower_bound(key), upper_bound(key)).
x
[
lower_bound
(key),
upper_bound
(key)).
See the related sample program.