Call updateCycleCount
Add friend class declaration