The number of solutions of the equation $ \cos 2\theta \cos \left( \frac{\theta}{2} \right) + \cos \left( \frac{5\theta}{2} \right) = 2 \cos^3 \left( \frac{5\theta}{2} \right) $ in the interval \(\left[ -\frac{\pi}{2}, \frac{\pi}{2} \right ]\) is: