Thanks, this worked well. I did tweak it with somesoni2's changes and to not have 100 hardcoded:
your search terms here | eventstats max(count) as rangeHigh | eval countAs=mvrange(1,rangeHigh) | eval countAs=mvindex(countAs,0,count-1) | mvexpand countAs | stats count by countAs
... View more