Find the number of amenities for each of the dorms that can accommodate more than 100 students.
SELECT count(*) ,  T1.dormid FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid WHERE T1.student_capacity  >  100 GROUP BY T1.dormid
SELECT count(*) ,  T1.dormid FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid WHERE T1.student_capacity  >  100 GROUP BY T1.dormid
[{'count(*)': 3, 'dormid': 104}, {'count(*)': 8, 'dormid': 109}, {'count(*)': 5, 'dormid': 110}, {'count(*)': 6, 'dormid': 140}, {'count(*)': 12, 'dormid': 160}]