On the Measurement of Slug Frequency in the Horizontal Gas-Liquid Flow