0 DB_ERROR_NOT_CONNECTED
in:
[select count(*) from products where status=1 order by sort_order]