Counts the number of required elements in a range.
Some input range.
Value to find.
number of required elements.
See Implementation
Counts the number of required elements in a range.