Int32 InputParameter.NumberOfLevels { get; }

Number of levels if the parameter nature is Discrete, or the parameter nature is Continuous and the UseManufacturableValues property is set to True.