refactor the backend so that ES calculates the sum of durations for flowNode, userTask and process instance reports.