add sum argument to table cli