That's not good because `$q` is magical.

I think perhaps it's fine that we use `count($q = '*', $db = null)` as the interface. For databases that don't support custom count expression, the `$q` parameter can just be ignored.