Garage door, getting the position

Trying to count the rotations it takes to fully open or close the port. But it is a bit difficult as it is turning pretty fast, and hard to see in there.

If it turns less rotations than it takes to move a multi turn pot from minimum to maximum, then that would be the best thing to use, I think. It would then just be to connect it directly to the shaft, and make a little mount for the pot.