public int getTaskListSize() {
    return (this.taskList == null) ? 0 : this.taskList.size();
  }
Returns true if field stageCounters is set (has been assigned a value) and false otherwise
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java