Question: I need the number of amenities for the dorms that can accommodate more than 100 students | Are you asking for the number of distinct amenities for dorms whose student capacity is greater than 100? | yes
SQL: SELECT count ( DISTINCT T2.amenid )  ,  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