Find the number of levels for each attribute
nlvls(x)
x
An object of class 'utility' or 'spdesign'
A list with the number of levels for each attribute