title: Can't write out elements when useing xsl:if and count() together
body: <p>I want to write out all the artist elements if the total number of the artist elements is greater than x. I have the following xml:</p>
  
  <pre><code>&lt;catalog&gt;
  &lt;cd&gt;
      &lt;title&gt;Empire Burlesque&lt;/title&gt;
  &lt;/cd&gt;
  &lt;cd&gt;
      &lt;title&gt;Hide your heart&lt;/title&gt;
      &lt;artist scale="28"&gt;Bonnie Tyler&lt;/artist&gt;
  &lt;/cd&gt;
  &lt;cd&gt;
      &lt;title&gt;Greatest Hits&lt;/title&gt;
      &lt;artist scale="30"&gt;Dolly Parton&lt;/artist&gt;
  &lt;/cd&gt;
  &lt;cd&gt;
      &lt;title&gt;Still got the blues&lt;/title&gt;
      &lt;artist scale="24"&gt;Gary Moore&lt;/artist&gt;
  &lt;/cd&gt;
  </code></pre>
  
  <p></p>
  
  <p>I have the following in xsl:</p>
  
  <pre><code> &lt;xsl:for-each select="/"&gt;
    &lt;xsl:if test="count(catalog/cd/artist) &amp;gt; 26"&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;xsl:value-of select="title"/&gt;&lt;/td&gt;
        &lt;td&gt;&lt;xsl:value-of select="artist"/&gt;&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/xsl:if&gt;
  &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>What am I doing wrong?</p>