Calculate gender percentages