title: Test if a for-each-group returns more than 1 group XSL
body: <p>I have a for-each group like the one below, but I only want the code to execute if the result of that for-each-group has more than 1 group... How can I do this?</p>
  
  <pre><code>&lt;xsl:for-each-group select="course[$department = department/@code]" group-by="course_group[@code]"&gt;
  </code></pre>
  
  <p>Thanks!</p>