Add some statistics gathering to GMW