Fill in countAbove so that it returns how many numbers are strictly greater than threshold.
countAbove
threshold
Reading is allowed through ? extends Number; adding would not compile. The program prints 2.
? extends Number
2