# Counting nodes from XML

**URL:** <https://forum.kirupa.com/t/counting-nodes-from-xml/192302>\
**Category:** flash\
**Created:** [June 27, 2006, 5:32pm UTC](https://forum.kirupa.com/t/counting-nodes-from-xml/192302 "2006-06-27T17:32:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saevik](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@saevik](https://forum.kirupa.com/u/saevik)\
**Post date:** [June 27, 2006, 5:32pm UTC](https://forum.kirupa.com/t/counting-nodes-from-xml/192302/1 "2006-06-27T17:32:10Z")

</div>

Hi,

Let’s say I have a XML file with three types of nodes; type1, type2 and type3.  
How do I count the number of nodes named type1?

Thanks :cons:
