MapReduce

You can use the MapReduce activity to perform map-reduce and finalize operations to perform aggregations in a collection by using custom JavaScript functions.