src/Engine/Traits/FromModelTraitPart/CollectionTrait.php
public function countFiltered($searchAttr, $searchValue, $richFilters)
    {
        $collection = $this->getFiltered(null, null, null, null, $searchAttr, $searchValue, $richFilters);
        return count($collection);
    }
public function countFiltered($searchAttr, $searchValue, $richFilters)
    {
        $collection = $this->getFiltered(null, null, null, null, $searchAttr, $searchValue, $richFilters);
        return count($collection);
    }
public function countFiltered ( $ searchAttr , $ searchValue , $ richFilters ) { $ collection = $ this -> getFiltered ( null , null , null , null , $ searchAttr , $ searchValue , $ richFilters ) ; return count ( $ collection ) ; }
Count all rows with condition
@param  string $searchAttr
@param  string $searchValue
@return integer
Count all rows with condition