Defined in header <algorithm> template< class InputIt, class T >
typename iterator_traits<InputIt>::difference_type
count( InputIt first, InputIt last, const T &value ); (1) template< class InputIt, class UnaryPredicate >
typename iterator_traits<InputIt>::difference_type
count_if( InputIt first, InputIt last, UnaryPredicate p ); (2)
Returns the number of elements in the range [first, last) satisfying specific criteria. The first ve