  We give two specializations of Krasner's mass formula. The first formula
yields the number of extensions of a $\mathfrak{p}$-adic field with given,
inertia degree, ramification index, discriminant, and ramification polygon. We
then refine this formula further to the case where an additional invariant
related to the residual polynomials of the segments of the ramification polygon
is given.
