Niphlod Fri, 09 Mar 2012 06:42:14 -0800
both seems to work ok... db(db.products.id>0)._count('id')
or db(db.products.id>0)._count(db.products.id)