select count(*) male_num,avg(gpa) avg_gpa
from user_profile
where gender='male';