“Found this at an estate sale. The gear counts from 1 to 31 and spins if the pointed bolt rotates.”
Answer: It’s a tachometer. Hold the point against the end of a turning object for a minute, and the dial will tell you how many RPMs.