Counting multiplicities of Dirichlet eigenvalues