Use libpq single row mode for FETCH_COUNT when a cursor cannot be used

Use libpq single row mode for FETCH_COUNT when a cursor cannot be used

Edit