The Cohen-Lenstra heuristics are a series of conjectures about the distributions of the class groups of number fields. They were extended by Gerth to the case of the p-torsion subgroup when p divides the degree of the field. Recently Fouvry and Kluners verified Gerth's conjecture for p=2 by computing the distribution of the 4-rank of class groups of quadratic fields. We will talk about our generalization of this result to the p-rank of class groups of degree p Galois fields. We will also discuss potential applications of these methods to computing distributions of extensions of quadratic fields with fixed non-abelian Galois group, which is a case of the non-abelian Cohen-Lenstra heuristics.