Modify \Model\DAO\Engine\Dao::count to accept select - to use distinct!