AMC 12A 2002 Problem 19

The graph of the function f is shown below. How many solutions does the equation f(f(x))=6 have?

Answer Choices
A. 2
B. 4
C. 5
D. 6
E. 7