I get an array of locales from one of our Utility class as below,
Number of unique locales we have as per this list is 2. But it is having same locale twice in 2 letter and 3 letter ISO format. Please help with the logic to get the number of unique locales on this array of Locale.