public int replicaSetCount(){
  return replicaSetsByName.size() + nonReplicaSets.size();
}

public int replicaSetCount ( ) { return replicaSetsByName . size ( ) + nonReplicaSets . size ( ) ; }
get the number of replica sets .
