Essentially an attribute of type List is basically a “nested” array. An array of arrays so to speak. And UML does have an answer to that with multiplicity.
But do keep in mind that you’re entering some pretty complex territory here, depending on your needs of course. Still, this is how I’d approach all this.