Added duration counters for Context and Task.