title: count of element in XPath
body: <pre><code>...
  &lt;element&gt;
      &lt;e:Element1 xmlns:e="mynamespace" &gt; ... &lt;/.. &gt;
      &lt;e:Element1 xmlns:e="mynamespace" &gt; ... &lt;/.. &gt;
      &lt;e:Element1 xmlns:e="mynamespace" &gt; ... &lt;/.. &gt;
      &lt;a/&gt;
  &lt;/element&gt;
  ...
  </code></pre>
  
  <p>and this XPath:</p>
  
  <p><code>//*[local-name()='element']/count(*)</code> return 4 what is OK.
  but now I wanna know count of element1 what is 3. I try a lot of possibilities but with no succes. I have to use local-name and <code>namespace-uri()</code></p>