Pimcore\Model\Tool\Email\Blacklist\Listing\Dao::getTotalCount PHP Method

getTotalCount() public method

public getTotalCount ( )
    public function getTotalCount()
    {
        try {
            $amount = (int) $this->db->fetchOne("SELECT COUNT(*) as amount FROM email_blacklist " . $this->getCondition(), $this->model->getConditionVariables());
        } catch (\Exception $e) {
        }
        return $amount;
    }