Merge "Making get_tx_counts() similar to get_tx_probs()."