How to make a counter?

I’m trying to make a simple textbox, that starts at a given number, and counts upwards in increments of 6? How would I go about doing that?