Determination of electron density in plasma by the number of the extreme resolved line