Japan's Osaka, home to 2.7 million people, was ranked third, behind Tokyo and Singapore.