When f(x) = 4, this means that the solution of the function, that is, the y values equals 4.
Hence, the question requires that we find the corresponding x values where y = 4.
On checking the graph, we can see that when y = 4, there are four different values of x.
These are approximately:
[tex]x=-1,2,3.5,4.5[/tex]Hence, there are 4 values where f(x) = 4.