Database: dorm_1
Question: How many dorms have amenities?
SQL:
SELECT count(DISTINCT dormid) FROM has_amenity