Coral grows (best) in warm water, and coral reefs in shallow, clear water (so it gets sun). So it's more a function of proximity to the right growing conditions than it is to total length of coastline.
There are two main groups of corals: subclasses Hexacorallia (stony corals) and Octocorallia (soft corals).
The octocorals very common and abundant in the Caribbean but they don't contribute to the formation of reefs. I don't know for certain, but I suspect the relative abundance of hexa and octo corals may also contribute to fewer countries in and around the Caribbean making the list
Bit surprising that Belize is considered to have the second largest coral reef in the world but doesn't make the top 20 in terms of overall reef square mileage
I feel like as a Queenslander, if there's one thing we should know its coral. Pretty much the main reason anyone comes here - the Great Barrier Reef. Managed to get them all in the end with about 30 seconds remaining. I was stuck for a while, but Egypt was a breakthrough and gave me Eritrea and Saudi Arabia.
The octocorals very common and abundant in the Caribbean but they don't contribute to the formation of reefs. I don't know for certain, but I suspect the relative abundance of hexa and octo corals may also contribute to fewer countries in and around the Caribbean making the list
If you have a Wii or Wii U, you definitely should give it a shot.
My finger was on E but for some reason i typed Sudan