public int size() {
    return taskNames.size();
  }
A mutable group of tasks and an associated container id.

Used as a temporary mutable container until the final ContainerModel is known.
samza-core/src/main/java/org/apache/samza/container/grouper/task/TaskGroup.java