title: XQuery Count all Nodes
body: <p>Is there a way to select the sum of all nodes within 1 XML nocument</p>
  
  <pre><code>for $c in doc("http://www.dbis.informatik.uni-goettingen.de/Mondial/mondial.xml")
  return count($c//country)
  </code></pre>
  
  <p>That is what i currently have but this only returns the count of all top level nodes.
  I would like to count all existing nodes.(recursively?)</p>