Add "num-processed" property

This property denotes the number of elements that have been processed by a
particular task node.