title: count items that satisfy having query
body: <p>suppose I have</p>
  
  <pre><code>SELECT * FROM table t
  GROUP BY j
  HAVING condition_one OR condition_two OR condition_three
  </code></pre>
  
  <p>how can I modify the query such that it returns the COUNT of how many rows satisfied the three different conditions in having clause</p>
  
  <p>so ideally the output would have something like:</p>
  
  <pre><code>condition_one: 100
  condition_two: 200
  condition_three: 300
  </code></pre>
  
  <p>whereby there are 100 items satisfying condition_one, 200 satisfying condition_two etc </p>