code: public int getRecordCount(Rec record)
      {
          int iRecordCount = 1;
          if ((this.getNodeType() == MessageRecordDesc.NON_UNIQUE_NODE)
              && (!this.isSingleDetail(record)))
                  iRecordCount = Integer.MAX_VALUE;   // Until EOF
          return iRecordCount;
      }
docs: Get the record count (or MAX is unknown)
  @param record
  @return