Efficiency of Monte Carlo methods for densities and sums of rovibrational states