IR Sensors Read, Compare, and Output Code?

How big are the wheels?
Or how many inputs per rotation of the wheel?
And are all the sensors have the same inputs per rotation including the rear?

I'll look around and see if I can find some counting sketch that could be applied to what ya have.