The number of solutions of $\sin ^ { 2 } x + \left( 2 + 2 x - x ^ { 2 } \right) \sin x - 3 ( x - 1 ) ^ { 2 } = 0$, where $- \pi \leq x \leq \pi$, is $\_\_\_\_$
The number of solutions of $\sin ^ { 2 } x + \left( 2 + 2 x - x ^ { 2 } \right) \sin x - 3 ( x - 1 ) ^ { 2 } = 0$, where $- \pi \leq x \leq \pi$, is $\_\_\_\_$