Returns the number of intersections between the curves within the specified ranges.
The number of intersections as an integer value.