OptionalcompareCustom comparison used for ordering results (e.g. for UI display).
OptionalfilterOptionally restricts the population (e.g. numbers only).
OptionalincludeIf true blank will be given its own distinct count.
OptionalkeyCustom function to define distinctness.
OptionallimitThe maximum distinct values to count.
OptionalreverseIf true the ordering is reversed.
Options for finding frequency statistics in a range.