@Override
    public Iterator<PeerId> iterator() {
        return this.peers.iterator();
    }
Returns the peers total number.

@return total num of peers
jraft-core/src/main/java/com/alipay/sofa/jraft/conf/Configuration.java