Optical measurements of ion density in the second vacuum stage of an inductively coupled plasma mass spectrometer