Yes, treasure is an example of an English word that is both countable and uncountable. With the word treasure, it’s a matter of general or specific. In your example the correct answer is treasure, because the island is full of a variety of things that could be considered valuable.