Rotation counter with gyroscope / accelerometer

I guess the gravity vector would be reversing every revolution, except if the plane of the disk is horizontal.

Paul