[Refactor] Added amount column for output table, sum(amount) and sum(itemqt)