protected function computeNbUniques($metrics)
    {
        $logAggregator = $this->getLogAggregator();
        $query = $logAggregator->queryVisitsByDimension(array(), false, array(), $metrics);
        $data = $query->fetch();
        return $data;
    }
protected function computeNbUniques($metrics)
    {
        $logAggregator = $this->getLogAggregator();
        $query = $logAggregator->queryVisitsByDimension(array(), false, array(), $metrics);
        $data = $query->fetch();
        return $data;
    }
protected function computeNbUniques ( $ metrics ) { $ logAggregator = $ this -> getLogAggregator ( ) ; $ query = $ logAggregator -> queryVisitsByDimension ( array ( ) , false , array ( ) , $ metrics ) ; $ data = $ query -> fetch ( ) ; return $ data ; }
Processes number of unique visitors for the given period

This is the only Period metric (ie. week/month/year/range) that we process from the logs directly,
since unique visitors cannot be summed like other metrics.

@param array Metrics Ids for which to aggregates count of values
@return array of metrics, where the key is metricid and the value is the metric value
Processes number of unique visitors for the given period