Corrected num of transactions variable