Removed stats module. Much easier to just do it with query.