How to return number of items in OData v4 HTTP response?
I need this number to pagination, so it should be number of items after filtering, but before \'skip\' and \'top
Will you please take a look at the sample service TripPin web api implementation at https://github.com/OData/ODataSamples/blob/master/Scenarios/TripPin. You can follow the code in Airports controller and the service with the code http://services.odata.org/TripPinWebApiService/Airports?$count=true can return the count correctly.