Filter condition and count for male / females