A lot of scientist has calculated it through the accelerated expansion theory, therefore this calculation includes part of energy inside them, which can't be counted in the density. As far as we would like we can not calculate it WITHOUT energy. "The expansion rate we see today indicates that the critical density of the Universe is about 9×10-27 kg m-3. This density, however, is the total density of both matter and energy"