I have 5 items in a listbox, and I want to have the total of those items saved to variable that I can use later?

How do I add those items up to a variable?