src/Service/Emailer.php
public function countAll($data)
    {
        $this->getCountCommonEmail($data);
        $oDb = Factory::service('Database');
        return $oDb->count_all_results($this->sTable . ' ' . $this->sTableAlias);
    }
public function countAll($data)
    {
        $this->getCountCommonEmail($data);
        $oDb = Factory::service('Database');
        return $oDb->count_all_results($this->sTable . ' ' . $this->sTableAlias);
    }
public function countAll ( $ data ) { $ this -> getCountCommonEmail ( $ data ) ; $ oDb = Factory :: service ( 'Database' ) ; return $ oDb -> count_all_results ( $ this -> sTable . ' ' . $ this -> sTableAlias ) ; }
Count the number of records in the archive

@param array $data Data passed from the calling method

@return mixed
@throws \Nails\Common\Exception\FactoryException
Count the number of records in the archive