Zend paginator dbselect count

Fixes row count issue when you use GROUP with original query.