The number of points, at which the function \( f(x) = \max \{ 6x,\; 2 + 3x^2 + |x-1|\cos|x^2 - \tfrac{1}{4}| \} \), \( x \in (-\pi,\pi) \), is not differentiable is, is ________.