GetTotalUnitCount¶
Read total unit count from current game state.
GetTotalUnitCount()
Inputs: None.
Output: count, available: Completed assigned-player unit count.
Errors and unavailable states: If available is false, ignore the first return value; it is not a confirmed result.
See Game data and world for related calls and usage notes.