ReadonlylengthThe length property of the CSSRuleList interface returns the number of CSSRule objects in the list.
The item() method of the CSSRuleList interface returns the CSSRule object at the specified index or null if the specified index doesn't exist.
A
CSSRuleListrepresents an ordered collection of read-only CSSRule objects.MDN Reference