public int getSize() throws IteratorException {
    int size = 0;
    if (list != null) {
      size = list.size();
    } else {
      throw new IteratorException(); //No Data
    }
    return size;
  }