Rotation Value ist not the same as given in the driver output
While all angles entered into the transform input field are interpreted as degrees, when you set the value in a script or driver it's interpreted as radians.



Your driver sets the rotation to 45 radians which is about 2578 degrees. The expression 2*pi/count should provide you with the desired angle.