Fixing some bugs, where the default value of long were impacting the success of the features.
Implementing the sum reducer and sum task.