# getCount method

int getCount()

Gets the number of elements in the FieldList object.

return Number of elements in the Field object. throws BiosealException An error has occurred during Bioseal Library execution.

## Implementation

    int getCount() {
      Pointer<Int> pCount = calloc();
      try {
        var err = biosealSDK.id3BiosealFieldList_GetCount(_pHandle.value, pCount);
        if (err != BiosealError.success.value) {
          throw BiosealException(err);
        }
        final vCount = pCount.value;
        return vCount;
      } finally {
        calloc.free(pCount);
      }
    }