If the inequality $\sin^{2}x+a\cos x+a^{2} \geq 1 +\cos x$ holds for any $$x \in \mathbb{R}$$, the number of integral values a cannot take is