Let $f:(-2,2)\to\mathbb{R}$ be defined by $f(x)=\begin{cases}x[x], & -2<x<0\\ (x-1)[x], & 0\leq x<2\end{cases}$ where $[x]$ denotes the greatest integer function. If $m$ and $n$ respectively are the number of points in $(-2,2)$ at which $y=|f(x)|$ is not continuous and not differentiable, then $m+n$ is equal to ________.