Added task counter