If \( \theta \in \left[ -\frac{7\pi}{6}, \frac{4\pi}{3} \right] \), then the number of solutions of \[ \sqrt{3} \csc^2 \theta - 2(\sqrt{3} - 1)\csc \theta - 4 = 0 \] is equal to ______.