add getTasks in SoftOpRoiCounter