docs: private int getMaxConfiguredReplicaCount() {
          if (maxConfiguredReplicaCount > 0) {
              return maxConfiguredReplicaCount;
          } else {
              final ClientMessage request = PNCounterGetConfiguredReplicaCountCodec.encodeRequest(name);
              final ClientMessage response = invoke(request);
              final PNCounterGetConfiguredReplicaCountCodec.ResponseParameters resultParameters
                      = PNCounterGetConfiguredReplicaCountCodec.decodeResponse(response);
              maxConfiguredReplicaCount = resultParameters.response;
          }
          return maxConfiguredReplicaCount;
      }