As far as I’m aware you can only get those number by actually simulating/running the game.
A rec parser like aoe2insights uses is not sufficient.
A recorded game holds information about queued actions.
Only the game client can decide whether it was a valid action (e.g.
did you really have 50f when you used your villager hotkey).
This is why
I assume this i from voobly days where the voobly client was always running and could read that data from the game.
​
Regarding the analysis not being available, I assume the last update broke the parser again 🙂