Is there a sensor for counting the number of cards in a flipping scorecard?
Magnets?

Put a tiny magnet on each leaf, in a different position. Put two hall sensors behind, attached to the wall. When someone flips a leaf, the magnetic field will change detectably.