Learn about subpixels: (video coming soon)
It's not directly related to the frame counter, but by the fact that water acceleration is applied every 4 frames; each of the 4 types of frames corresponds to one "application" of acceleration relative to the first input of dismounting Yoshi for the clip.