valueCount

abstract val valueCount: Int

Returns the number of unique values.

Return

number of unique values in this SortedDocValues. This is also equivalent to one plus the maximum ordinal.