Add stats for each partition.