Consider the graph of a real-valued continuous function $f(x)$ defined on $R$(the set of all real numbers) as shown below:

Find the number of real solutions of the equation $f(f(x))=4.$
I found $f(x)=2x+8,\text{when} x\leq -2$
$f(x)=-2x,\text{when} -2<x\leq-1$
$f(x)=2x+4,\text{when} -1<x\leq0$
$f(x)=4-x,\text{when} 0<x\leq 2$
$f(x)=x,\text{when} 2<x\leq 4$
$f(x)=-4x+20,\text{when} x>4$
I tried to find the composition of the piecewise defined function.But i could not find $f(f(x))$
Please help me.
Hints:
Reading off the graph may help.