Skipping rope with counting function