childElementCount

open external val childElementCount: Int(source)

The Document.childElementCount read-only property returns the number of child elements of the document.

MDN Reference