A glass tube of 2 m length is filled with water. The water can be drained out slowly at the bottom of the tube. If a vibrating tuning fork of frequency 500 Hz is brought at the upper end of the tube and the velocity of sound is 300 m/s, then the total number of resonances obtained will be