public function count($max = '') {
		$countKey = '0rpHeus_Count';
		$query = $this->getClone(false);
		
		$result = $query->set('what', 'COUNT(*) ' . $countKey)
			->from('(' . $this->getQuery() . ') oq')
			->asArray()->run();
		
		return isset($result[$countKey]) ? $result[$countKey] : 0;
	}