set::count

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)).

See the related sample program.


Send feedback to MSDN.Look here for MSDN Online resources.