aggregate for multiple outputs

Allow for getting a new member with the number of event in open and closed blocks for all the registered output of a workflow.
Better wait for the stats db to get compacted before making a document growth with this.