KRACOEUS-7525:display attachment totals in tabs

it will be the line items displayed, it doesn't have to be saved to the db to be counted, it only has to exist in the model.