Got stats working with database. Glenn