template <typename InputIterator, typename Cursor> int match_count(InputIterator first, InputIterator last, Cursor &c);