Twitch interview question

Count the islands in an array