implement TestUnspentTxCount