The number of solutions of the equation \( \sin x = \cos^{2} x \) in the interval \( (0,10) \) is ______.