valueCount

abstract val valueCount: Long

Returns the number of unique values.

Return

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