Computing global stats in SL.