Calculate estimated duration for tasks in each type