It's simple. Mitt didn't know any women himself.
The President could have simply asked, how many women partners were there at Bain?
Here's the answer:
Notice anything? Like, no women?