That is a simple case of Google searching… Find a sketch and matching hardware option and get it working in Arduino. Then try blending in Blynk for whatever reasons you need (aka display widgets, etc.).
If the diameter of your wheel is, say, 1 meter, you can calculate the distance it will travel with 1 round. E.g. Pi * d. Easy enough. The rest I’ll leave up to you