If $\sqrt{3}(\cos^2 x) = (\sqrt{3} - 1)\cos x + 1$, then number of solutions of the given equation when $x \in \left[0, \frac{\pi}{2}\right]$ is ______.
Numerical-value question: the answer is a number.
Show answer
The answer is 1.
Key from source paper