Determine the number of angles $\theta$ between $0$ and $2\pi$, excluding integer multiples of $\pi/2$, such that $\sin \theta$, $\cos \theta$, and $\tan \theta$ form a geometric sequence in some order.

Let's think step by step and output the final answer within \boxed{}.
user