original_string: public function getNumberOfVisitsByVisitCount($idSite, $period, $date, $segment = false)
      {
          $dataTable = $this->getDataTable(
              Archiver::VISITS_COUNT_RECORD_NAME, $idSite, $period, $date, $segment, Metrics::INDEX_NB_VISITS);
  
          $dataTable->queueFilter('AddSegmentByRangeLabel', array('visitCount'));
          $dataTable->queueFilter('BeautifyRangeLabels', array(
                                                              Piwik::translate('General_OneVisit'), Piwik::translate('General_NVisits')));
  
          return $dataTable;
      }
code: public function getNumberOfVisitsByVisitCount($idSite, $period, $date, $segment = false)
      {
          $dataTable = $this->getDataTable(
              Archiver::VISITS_COUNT_RECORD_NAME, $idSite, $period, $date, $segment, Metrics::INDEX_NB_VISITS);
  
          $dataTable->queueFilter('AddSegmentByRangeLabel', array('visitCount'));
          $dataTable->queueFilter('BeautifyRangeLabels', array(
                                                              Piwik::translate('General_OneVisit'), Piwik::translate('General_NVisits')));
  
          return $dataTable;
      }
code_tokens: public function getNumberOfVisitsByVisitCount ( $ idSite , $ period , $ date , $ segment = false ) { $ dataTable = $ this -> getDataTable ( Archiver :: VISITS_COUNT_RECORD_NAME , $ idSite , $ period , $ date , $ segment , Metrics :: INDEX_NB_VISITS ) ; $ dataTable -> queueFilter ( 'AddSegmentByRangeLabel' , array ( 'visitCount' ) ) ; $ dataTable -> queueFilter ( 'BeautifyRangeLabels' , array ( Piwik :: translate ( 'General_OneVisit' ) , Piwik :: translate ( 'General_NVisits' ) ) ) ; return $ dataTable ; }
docstring: Returns a DataTable that associates ranges of visit numbers with the count of visits
  whose visit number falls within those ranges.
  
  @param int $idSite The site to select data from.
  @param string $period The period type.
  @param string $date The date type.
  @param string|bool $segment The segment.
  @return DataTable the archived report data.
docstring_tokens: Returns a DataTable that associates ranges of visit numbers with the count of visits whose visit number falls within those ranges .