Added sum() method on Collection which gets the sum of values for a given key