title: [splunk]: Obtain a count of hits in a query of regexes
body: <p>I am searching for a list of regexes in a splunk alert like this:</p>
  
  <pre><code>... | regex "regex1|regex2|...|regexn"
  </code></pre>
  
  <p>Can I modify this query to get a table of the regexes found along with their count. The table shouldn't show rows with 0 counts.</p>
  
  <pre><code>regex2 17
  regexn 3
  </code></pre>