Updated Db\Db::query() method, now it will return rowCount()