It shouldn't be a problem if you have programming experience.
Each item the user selects has a name and a value associated with it. You just add up the values which have been selected.
Problem comes with the design and if you're not a programmer how were you going to do your site even without the adding up?