itemCount property
The number of items (unit intervals) on the ruler.
This value represents the total number of unit intervals (e.g., "kg", "cm", etc.) displayed on the ruler. It is useful for determining how many intervals should be drawn and for layout calculations.
Implementation
int itemCount = 0;