Context: CREATE TABLE has_amenity (dormid VARCHAR)
Question: Find the number of dorms that have some amenity.
Answer: SELECT COUNT(DISTINCT dormid) FROM has_amenity