multimap::count() in C++ STL
The multimap::count is a built-in function in C++ STL which returns the number of times a key is present in the multimap container.
Parameters: The function accepts one mandatory parameter key which specifies the key whose count in multimap container is to be returned.
Return Value: The function returns the number of times a key is present in the multimap container.
1 exists 2 times in the multimap 2 exists 3 times in the multimap