include Operators for (select(count) { ... } == 1)
Added emit_null.
Allow #emit to call #to_sql on the object.