"numberOfMatches(A, x, i): // A is an array of values, x is a single value" . . . . .