Are you not familiar with research on demographic faultlines? Subgroup formation can be quantified. It is not at all certain that diversity improves team performance efficacy or productivity in all contexts. It doesn’t take much reading to see that IO psychology is highly divided on this. That diversity is unequivocally a good thing is not indisputable.