I have a kvstore collection with ~50 000 records. I want to get count of records that satisfy some conditions, but I don't want to get the records itself because json response can be very huge with query like:
Can I achieve this using REST?
run an inputlookup search with a stats count. Should be fast enough to do as one shot search via api.
| inputlookup kvstoreLookup where field=value | stats count
View solution in original post