Question: How many different status codes of things are there?
Schema: create table timed_status_of_things (status_of_thing_code varchar, PRIMARY KEY (status_of_thing_code))
SQL: select count(distinct status_of_thing_code) from timed_status_of_things