public final int getRegionId() {
    // TODO: persist regionId in EnrichedEvent
    return committerKey == null ? -1 : committerKey.getRegionId();
  }
Get the {@link EnrichedEvent#referenceCount} of this {@link EnrichedEvent}.

@return the {@link EnrichedEvent#referenceCount}
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/event/EnrichedEvent.java