Add computation of statistics from aggregate data.