Curling probe measurement of electron density in pulse-modulated plasma