How do I get the total number of items in a list based on a filter. For example:
How many fruits in the SharePoint list, "Fruits", are red?
I can get the items themselves like below, but I just want the number.
_api/web/lists/getbytitle('Fruits')/items?$filter=((color eq 'red'))