WIP: Stats by groups are stored; populate script updated to generate group's stats.