public function countMax($countMax, $error) {
        if ($this->_exist) {
            array_push($this->_constraints, ['type' => self::COUNTMAX, 'value' => $countMax, 'message' => $error]);
        }

        return $this;
    }