In Morocco, women are not very well educated, and something like two women in a class was typical and accepted.
In Morocco, women's education is limited, and a ratio of two female students per class was considered acceptable.