You need to extract asset id values into a field assetid, After which you can add | stats count by assetid at the end of your search to produce the resultset you wanted.
Use the built in field extractor if you need help in extracting the values into a field
can it be donde with rex command? how would that be?
hmmm ok, i´ll see how to extract this asset id with this "field extractor". thanks dude