The size property of the CustomStateSet interface returns the number of values in the CustomStateSet.
size
CustomStateSet
An integer indicating how many properties the CustomStateSet has.