Bubble Counting for the Determination of the Velocities of Charged Particles in Bubble Chambers