Its answered in following post.
Thank you for the help.
There nothing seems to be available for simple xml. There could be some workarounds like using searchTemplate and searchPostProcess and adding a single value module to show count. But mostly you'll end up writing extra search just to show count.
I am using Simple Xml, so there is no way to do it?
You can achieve this with <done>
tag, like this:
<done>
<eval token="resultcount_tok">$job.resultCount$</eval>
</done>
And use it anywhere in your dashboard panel with "$resultcount_tok$"
You can use |stats count _time AS EventCount