The NodeList.length property returns the number of items in a NodeList.
NodeList.length
external int get length;