Add total weight for line items as well

Change-Id: I9c3d38a4394d5aa15781bdbbd475e85ce714dee2