title: pugixml number of child nodes
body: <p>Does a pugixml node object have a number-of-child-nodes method? I cannot find it in the documentation and had to use an iterator as follows:</p>
  
  <pre><code>int n = 0;
  for (pugi::xml_node ch_node = xMainNode.child("name"); ch_node; ch_node = ch_node.next_sibling("name")) n++;
  </code></pre>