Calculating the aggregate of transaction statistics