Counting spesific nodes

Hi,

Let’s say I have a XML file with three types of nodes (or childnodes); type1, type2 and type3. Many of each.
How do I use .length to count the number of nodes named type1?

Thanks :cons: