How many countries share a border with Burma?

Myanmar, previously known as Burma, shares a border with 5 other countries.