GetLoopCount function

Learn technical details about the GetLoopCount function.