Like distance in a single direction? If so, my answer still stands, you can use the circumference and rotation to measure the distance the wheel has gone.
Pseudo code:
while (distance traveled is less than target)
{
get rotation;
convert rotation distance to inches using circumference;
drive forward
}
stop driving
If you are talking about odometry, also known as position tracking, that is a whole other slice of a whole other pie.