You are thinking about it the wrong way. You don't sum the numbers held in a view: views don't store numbers. You need to setup the controller layer to sum the data held in the model.
Assuming you are using bindings then you simply need to bind the content of the text field to the controller providing the data for the table using @sum.