Finishing off the initial build of the stats report.