docs: public long count() {
      if (SHOULD_CHECK) {
        checkNotClosed();
        txn.checkReady();
      }
      final NativeLongByReference longByReference = new NativeLongByReference();
      checkRc(LIB.mdb_cursor_count(ptrCursor, longByReference));
      return longByReference.longValue();
    }