This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] Let $t=x+2$: $|t^2-1|-4|t|+5=0$. For $|t|\ge1$: $t^2-4|t|+4=0\Rightarrow|t|=2$. For $|t|<1$: $t^2+4|t|-6=0$ gives $|t|=\sqrt{10}-2>1$, rejected. So $t=\pm2$, i.e. $x=0,-4$: $2$ roots. Answer: 2.