code: private int getOccurs(CobolArrayType type) {
          if (type.isVariableSize()) {
              return getOdoValue(type.getDependingOn());
          } else {
              return type.getMaxOccurs();
          }
      }
docs: Retrieve the size of an array.
  <p/>
  For variable size arrays this requires an ODOObject whose value
  determines the size at runtime.
  
  @param type the array type
  @return the actual size of the array