The usual, lowest cost and the easiest to implement is probably an incremental encoder driving an up down counter.
Its then pretty easy to arrange the counts per turn, and number of total turns for any scale and knob sensitivity you like.
Its also simple to arrange for the up down counter to automatically be set to zero at initial power up, wherever the knob position happens to be.