I can't keep up with what words you should and shouldn't use but "females" in this context does sound a bit odd.
I wouldn't ask how many males do you work with, I would just way "how many men do you work with."
Similarly, I would say "How many women do you work with?"
But maybe that's an issue as well. I don't know. This language policing is mostly a minefield I don't care to navigate. The OP clearly wasn't trying to be offensive or anything like that, so i think (and hope) it's fine.
I wouldn't ask how many males do you work with, I would just way "how many men do you work with."
Similarly, I would say "How many women do you work with?"
But maybe that's an issue as well. I don't know. This language policing is mostly a minefield I don't care to navigate. The OP clearly wasn't trying to be offensive or anything like that, so i think (and hope) it's fine.