Question: Find the number of dorms that have some amenity.
Schema: create table has_amenity (dormid varchar, PRIMARY KEY (dormid))
SQL: select count(distinct dormid) from has_amenity