The number of foreign students in Japan was 14.8 percent higher than last year as of May 2016, thanks to a boost from Vietnam, a public tally showed Friday.

According to the Japan Student Services Organization, an independent administrative entity affiliated with the education ministry, 239,287 foreigners were studying across Japan as of May 1 last year.

By country, Chinese accounted for the largest number at 98,483, up 4,372 from a year earlier. Vietnamese came second at 53,807, up 14,925, with nearly half enrolled at Japanese-language schools rather than universities.

An education ministry official attributed the rise to a growing interest in Japan stemming from the increasing number of Japanese companies making inroads into Vietnam, as well as a rise in local agents assisting with studying in Japan.

Nepalese ranked third at 19,471, up 3,221.

By contrast, the number of Japanese studying abroad at universities and other institutions fell 3.9 percent in 2014 from the previous year, according to the Education, Culture, Sports, Science and Technology Ministry.

According to ministry data, a total of 53,197 Japanese were studying abroad in 2014. The United States was the most popular destination, down slightly at 19,064 from the previous year, followed by China with 15,057 and Taiwan with 5,816.