lib/transaction_dictionary.c: modify how transaction stats are computed.