public function setCountOnly(
        \DateTime $dateFrom,
        \DateTime $dateTo,
        $groupUnit = '',
        ChartQuery $chartQuery = null
    ) {
        $this->countOnly  = true;
        $this->dateFrom   = $dateFrom;
        $this->dateTo     = $dateTo;
        $this->groupUnit  = $groupUnit;
        $this->chartQuery = $chartQuery;
    }
public function setCountOnly(
        \DateTime $dateFrom,
        \DateTime $dateTo,
        $groupUnit = '',
        ChartQuery $chartQuery = null
    ) {
        $this->countOnly  = true;
        $this->dateFrom   = $dateFrom;
        $this->dateTo     = $dateTo;
        $this->groupUnit  = $groupUnit;
        $this->chartQuery = $chartQuery;
    }
public function setCountOnly ( \ DateTime $ dateFrom , \ DateTime $ dateTo , $ groupUnit = '' , ChartQuery $ chartQuery = null ) { $ this -> countOnly = true ; $ this -> dateFrom = $ dateFrom ; $ this -> dateTo = $ dateTo ; $ this -> groupUnit = $ groupUnit ; $ this -> chartQuery = $ chartQuery ; }
Calculate engagement counts only.

@param \DateTime       $dateFrom
@param \DateTime       $dateTo
@param string          $groupUnit
@param ChartQuery|null $chartQuery
Calculate engagement counts only .