Fixing get_stats( ) when its for the whole server