added aggregate statistics on duration