At how many points in the interval is at maximum or a minimum ?