docs: public int getZoneNaryForNodesPartition(int zoneId, int nodeId, int partitionId) {
          if(cluster.getNodeById(nodeId).getZoneId() != zoneId) {
              throw new VoldemortException("Node " + nodeId + " is not in zone " + zoneId
                                           + "! The node is in zone "
                                           + cluster.getNodeById(nodeId).getZoneId());
          }
  
          List<Integer> replicatingNodeIds = getReplicationNodeList(partitionId);
          int zoneNAry = -1;
          for(int replicatingNodeId: replicatingNodeIds) {
              Node replicatingNode = cluster.getNodeById(replicatingNodeId);
              // bump up the replica number once you encounter a node in the given
              // zone
              if(replicatingNode.getZoneId() == zoneId) {
                  zoneNAry++;
              }
              if(replicatingNodeId == nodeId) {
                  return zoneNAry;
              }
          }
          if(zoneNAry > 0) {
              throw new VoldemortException("Node " + nodeId + " not a replica for partition "
                                           + partitionId + " in given zone " + zoneId);
          } else {
              throw new VoldemortException("Could not find any replicas for partition Id "
                                           + partitionId + " in given zone " + zoneId);
          }
      }