Generate stats from new data structure