count

val count: Int

The magnitude of the dominant unit. Pair these two for localized output: resources.getQuantityString(pluralFor(unit), count, count).

Note this drops smaller components — "P1M15D" reports count == 1 with Unit.MONTH. Use format or the raw components when that matters.