code: func GetReplicaCountForReplicaSets(replicaSets []*extensions.ReplicaSet) int {
  	totalReplicaCount := 0
  	for _, rs := range replicaSets {
  		totalReplicaCount += rs.Spec.Replicas
  	}
  	return totalReplicaCount
  }
docs: // Returns the sum of Replicas of the given replica sets.