I am using Odata runtime version v4.0.30319 and trying to get expanded items count in similar query
http://services.odata.org/OData/OData.svc/Categories?$select=Name,Products&$expand=Products
I am trying the below way. Do we have any option with odata to find out expanded items count?
http://services.odata.org/OData/OData.svc/Categories?$select=Name,Products($count=true)&$expand=Products