  Whittaker functions are special functions that arise in $p$-adic number
theory and representation theory. They may be defined on representations of
reductive groups as well as their metaplectic covering groups: fascinatingly,
many of their number theoretic applications survive the transition between the
reductive and metaplectic cases. However, one notable difference is that the
space of Whittaker functions on a reductive group over a nonarchimedean local
field $F$ is one-dimensional, whereas this is no longer true in the metaplectic
case. In a previous paper, the second author showed that the dimension of the
space of Whittaker functions on an arbitrary $n$-fold metaplectic cover of
$GL_r(F)$ can be counted in terms of the number of solutions to a particular
system of linear Diophantine equations in terms of $n$ and $r$. In this paper,
we calculate two precise formulae for $\dim(\mathfrak{W})$, one inspired by
viewing this system as a homogenous specialization of an inhomogenous system
and the other by the structure of the coroot lattice of $GL_r(F)$. Then we use
these formulae to investigate a homomorphism between $\mathfrak{W}$ and a
particular quantum group module, built by the second author in a previous
paper, and show precisely when this map is well-defined for any choice of basis
for $\mathfrak{W}$.
