I would like to create a smart folder to count how many items I have with certain conditions. I have not found any command in the wiki to make the query return the number of results instead of the items themselves. Thanks in advance.
BR, Szeki
.COUNTONLY is the term that you are looking for.
You can find examples here