They used the ISO 3166-1 list of 249 countries and associated territories— not the list of 193 independent countries recognized by the UN. According to an American journalist, they simply took their trade deficit with each territory and divided it by that territory's exports to them.
Comments
(All Canadians learn about these islands in school)
https://oec.world/en/profile/country/spm