How to sum up all the values associated with a specific name