Muon density spectra as a probe of the muon component predicted by air shower simulations