Generate all of the statistics needed