Int32 Variable.DiscreteValueCount { get; }

Gets the number of discrete values of this variable.