The number of solutions of the equation \( 2\theta - \cos^2 \theta + \sqrt{2} = 0 \) in \( R \) is equal to __________.