Find the number of rooms with more than 50 capacity for each building.
select count(*), building from classroom where capacity > 50 group by building