Windows: refactor stats
Windows: refactor stats

Signed-off-by: John Howard <50ae662f5fcde39b7d1ed786133b7c61a25411dd@microsoft.com>

thaJeztah/engine-api,jwhonce/engine-api,mikedougherty/engine-api,msabansal/engine-api,vdemeester/engine-api,docker/engine-api,rhatdan/engine-api