fix tx count when utxos are not required