The gold disk is slits in it that 3 light sensors read to give angle. It is also geared so I guess that part counts the number of full rotations.
The ribbon carrier can be miss-matched with both the large white gear above as well as with the total rotations of the gold disk if it moves.