count method

int count()

Returns the number of matching Objects.

Implementation

int count() {
  final ptr = malloc<Uint64>();
  try {
    checkObx(C.query_count(_ptr, ptr));
    return ptr.value;
  } finally {
    malloc.free(ptr);
  }
}