title: XSLT to transform in a XML some tags with the count of every tag
body: <p>How can I transform an XML that has something like this:</p>
  
  <pre><code>&lt;info&gt;
     .....
     &lt;name&gt;aaa&lt;/name&gt;
  &lt;/info&gt;
  &lt;info&gt;
     .....
     &lt;name&gt;bbb&lt;/name&gt;
  &lt;/info&gt;
  &lt;info&gt;
     .....
     &lt;name&gt;ccc&lt;/name&gt;
  &lt;/info&gt;
  </code></pre>
  
  <p>with an XSLT into something like this:</p>
  
  <pre><code>&lt;info&gt;
     .....
     &lt;name1&gt;aaa&lt;/name1&gt;
  &lt;/info&gt;
  &lt;info&gt;
     .....
     &lt;name2&gt;bbb&lt;/name2&gt;
  &lt;/info&gt;
  &lt;info&gt;
     .....
     &lt;name3&gt;ccc&lt;/name3&gt;
  &lt;/info&gt;
  </code></pre>
  
  <p>Anyone has any idea?
  Thanks!</p>