Added sum() to WordCount example