Categories Zend Framework 1.12 How to use count(*) in Zend Select Statement Post author By Stephen H Post date January 20, 2014 public function getCount() { $select = $this->select(); $select->from($this, array('count(*) as amount')); $rows = $this->fetchAll($select); return($rows[0]->amount); } ← Zend Executing a straight SQL query without a Model → Connecting MySQL Workbench to Server MySQL