Find the average age and number of male students (with sex M) from each city.
select count(*), avg(age), city_code from student where sex = 'M' group by city_code