How about this: in the interface, the method is `count($db = null)`, and in db's implementation, it is `count($q = '*', $db = null)`?