select count(gender) as male_num, sum(gpa) / count(gpa) as avg_gpa from user_profile
where gender = "male"