Ability to return count without objects in the response
Would be great if you could allow $Count query parameter to optionally only return the actual count without any of the objects present in the response. This could save a lot of bandwidth and resource usage, both on your APIs and on the client.
Typical use case would be to query the API with $filter, but only care about the count of the objects that matches said query. This would be an awesome way of querying through 30 days of signin logs, instead of having to download 300 000++ (had to do that yesterday) and then query the results.
Olav Rønnestad Birkeland commented
Found a "hack"/ workaround:
Use $top=1 and don't go for next @odata.nextLink, then you'll get one object returned, together with the count (@odata.count').