Update 'all tasks' count when a task is completed