There is a part of the function
\[
f(x)=\left\{\begin{matrix}
&(x+6)^{-2}+2& x \in (-\infty;-5)\setminus\{-6\} \\
&3, & x \in [ -5;-3 ] \\
&1, & x \in (-3;-1) \\
&|x-1|-1& x \in [ -1,\infty)\setminus \{6\}\\
\end{matrix}\right.
\]
in the picture. Use the graph to determine at how many points of the given interval \([ -8; 7 ]\) is the function \(f\) defined and is not differentiable.
There is a part of the function
\[
f(x)=\left\{\begin{matrix}
&-|x+2|+4,& x \in (-\infty;1)\setminus\{-3\} \\
&1, & x \in [ 1;2) \\
&2, & x \in [ 2;5] \\
&3-(x-6)^{-2} & x \in (5;\infty)\setminus \{6\}\\
\end{matrix}\right.
\]
in the picture. Use the graph to determine at how many points of the given interval \([ -4;8 ]\) is the function \(f\) defined and is not differentiable.