 			if (_comp==null) _elm.sort(opt); else _elm.sort(_comp, opt);
 			
 			// count unique values
-			_uniq = 1; var j:uint = 0;
+			_distinct = 1; var j:uint = 0;
 			for (i=1; i<_num; ++i) {
-				if (!equal(_elm[i], _elm[j])) { ++_uniq; j=i;	}
+				if (!equal(_elm[i], _elm[j])) { ++_distinct; j=i;	}
 			}
 			
 			// populate stats

		private var _comp:Function = null;
		
		private var _num:Number = 0;
		private var _uniq:Number = 0;
		private var _elm:Array = null;
		
		private var _minObject:Object = null;

		public function get stderr():Number { return stddev / Math.sqrt(_num); }
		/** The total number of values. */
		public function get count():Number { return _num; }
		/** The total number of distinct values. */
		public function get distinct():Number { return _distinct; }
		
		/** The minimum value (for date/time values). */
		public function get minDate():Date { return _minObject as Date; }
