# getCount method

int getCount()

Gets the number of elements in the HologramAuthenticationResultList object.

return Number of elements in the HologramAuthenticationResult object. throws DocumentException An error has occurred during Document Library execution.

## Implementation

    int getCount() {
      Pointer<Int> pCount = calloc();
      try {
        var err = documentSDK.id3DocumentHologramAuthenticationResultList_GetCount(_pHandle.value, pCount);
        if (err != DocumentError.success.value) {
          throw DocumentException(err);
        }
        final vCount = pCount.value;
        return vCount;
      } finally {
        calloc.free(pCount);
      }
    }