As Franz Lemmermeyer suggested, one should consider the so-called _Ambigous Class Number Formula_: you find it, for instance, in Gras' book "Class Field Theory from theory to practice", II.6.2.3. It says that if $L/K$ is a finite Galois extension with group $G$ and if we denote by $Cl_L,E_L$ the class group and the unit group of $L$ respectively (and likewise for $K$), then $$ \vert Cl_L^G\vert=\frac{\vert Cl_K\vert\cdot Ram(L/K)}{[L:K]\cdot [E_K:\mathrm{Norm}_{L/K}(E_L)]} $$ where $Ram(L/K)$ is the product of all ramification indexes of finite primes of $K$ in the extension $L/K$. So, in case $K=\mathbb{Q}$, you get simply $$ \vert Cl_L^G\vert=\frac{Ram(L/\mathbb{Q})}{[L:\mathbb{Q}]}\quad\text{or}\quad \vert Cl_L^G\vert=\frac{Ram(L/\mathbb{Q})}{2[L:\mathbb{Q}]} $$ according as whether $E_L$ contains or not a unit with negative norm. The proof is basically cohomological following the one suggested by Joe Silverman: the term $Ram(L/K)$ comes from fixed ideals in $I_L^G$ and the index of the norm of units of $L$ inside those of $K$ controls some capitulation kernel - but you can look in Gras' book for details.