# getCount method

int getCount()

Gets the number of elements in the ImageDict object.

return Number of elements in the Image object. throws FaceException An error has occurred during Face Library execution.

## Implementation

    int getCount() {
      Pointer<Int> pCount = calloc();
      try {
        var err = faceSDK.id3FaceImageDict_GetCount(_pHandle.value, pCount);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vCount = pCount.value;
        return vCount;
      } finally {
        calloc.free(pCount);
      }
    }