Numbers and densities of vibrational states for the system represented by harmonic oscillators with a cutoff