Hi,
You can do one thing, just enclose column name with back tick. Check it works or not.
SELECT `country`, COUNT(`country`) FROM airports GROUP BY `country` HAVING COUNT (`country`)=(SELECT MAX(`mycount`) FROM (SELECT `country`, COUNT(`country`) as `mycount` FROM airports GROUP BY `country`));