The correct option is B 3
Two housewives and one professor R are females. Now, no woman is an engineer or an accountant. The woman also cannot be a lawyer {as M is the lawyer and since is married to P (a housewife), has to be a male}. Hence the number of males is 3.