title: How to count the number of comments in JIRA
body: <p>I want to create an Issue Filter that shows me the number of comments per issue, and then sorts by that.</p>
  
  <p>I tried something like: </p>
  
  <pre><code>project = "myProject" AND created &gt;= 2012-06-01 AND created &lt; 2012-08-01 ORDER BY count(comment)
  </code></pre>
  
  <p>I'm on JIRA 4.2. How do I do this?</p>