Fixed issue #71; added a statistics operator for leaves event producer only