What is the order of the Weyl group of the restricted root system of the real Lie algebra $\mathfrak g= \mathfrak{so}(p,q)$?
More precisely, $\mathfrak g= \mathfrak k \oplus \mathfrak p$ and let $\mathfrak a$ be the maximal abelian subalgebra in $\mathfrak p$. We have the restricted root system $\Phi(\mathfrak g,\mathfrak a)$, where the roots are elements $\lambda\in\mathfrak a^*$ such that the following space is nonzero: $$ \{X\in\mathfrak g : (\mathrm{ad} H)X=\lambda(H) X \text{ for all }X\in\mathfrak a\}. $$
What is the order of the Weyl group of this root system associated to $\mathfrak g=\mathfrak{so}(p,q)$?