Count Distinct Necklace Rotation Groups — Coding Problem — CareerVerse