Adds the stats array to be returned