We present a generalization of Deuring's geometric mass formula - which counts supersingular elliptic curves mod-p - to superspecial abelian varieties of PEL type with good reduction at p and quaternionic endomorphisms.