public function GetCustomCountQuery($objectclass, $criteria)
	{
		$this->IncludeModel($objectclass);
		$sql = call_user_func( array($objectclass,"GetCustomCountQuery"),$criteria );
		return $sql;
	}
public function GetCustomCountQuery($objectclass, $criteria)
	{
		$this->IncludeModel($objectclass);
		$sql = call_user_func( array($objectclass,"GetCustomCountQuery"),$criteria );
		return $sql;
	}
public function GetCustomCountQuery ( $ objectclass , $ criteria ) { $ this -> IncludeModel ( $ objectclass ) ; $ sql = call_user_func ( array ( $ objectclass , "GetCustomCountQuery" ) , $ criteria ) ; return $ sql ; }
Returns the custom "counter" query for the given object class if it is defined

@access public
@param string $objectclass the type of object that your DataSet will contain
@return Array of FieldMap objects
Returns the custom counter query for the given object class if it is defined