Fixed rethrowing PDOException, because PDOException::getCode() is no longer an int...
Fixed missing parameters in MySQLStore::count.