It's been a long time since I suggested a mod and I feel this one would be very useful especially for modders who want to debug. I would like to be able to see and ingame counter of total units (and if people estimate it could be used for cheating, though really that's pulling it a bit long... then only your own unit count.)
If I knew how to use Alerts manager this would be very easy as you would just have to listen for created events and then every time there is one, put it into a tally for that type of unit
There is no way to get the unit counts from other players. Corang AlertsManager has been designed to be easy to use really
The economy messages used to send a unit count, it just wasn't displayed anywhere, haven't looked at it in a while.
That unit count should be unchanged, it's what PA Stats uses to show the army count in the graphs. However it would not be enough to track the counts grouped by unit type.