The number of distinct solutions of the equation

Question:

The number of distinct solutions of the equation $\log _{\frac{1}{2}}|\sin x|=2-\log _{\frac{1}{2}}|\cos x|$ in the interval $[0,2 \pi]$, is___________.

Solution: