public int resourceReferenceCount() {
        return resourceReferenceCount;
    }
Number of times the resource being authorized is referenced within the request. For example, a single
request may reference `n` topic partitions of the same topic. Brokers will authorize the topic once
with `resourceReferenceCount=n`. Authorizers may include the count in audit logs.
clients/src/main/java/org/apache/kafka/server/authorizer/Action.java