code: func GetActualReplicaCountForReplicaSets(replicaSets []*apps.ReplicaSet) int32 {
  	totalActualReplicas := int32(0)
  	for _, rs := range replicaSets {
  		if rs != nil {
  			totalActualReplicas += rs.Status.Replicas
  		}
  	}
  	return totalActualReplicas
  }
docs: // GetActualReplicaCountForReplicaSets returns the sum of actual replicas of the given replica sets.