Find the number of students whose age is older than the average age for each gender.
select count(*), sex from student where age > (select avg(age) from student) group by sex