{"action":"opened","issue":{"url":"https://api.github.com/repos/OData/WebApi/issues/484","labels_url":"https://api.github.com/repos/OData/WebApi/issues/484/labels{/name}","comments_url":"https://api.github.com/repos/OData/WebApi/issues/484/comments","events_url":"https://api.github.com/repos/OData/WebApi/issues/484/events","html_url":"https://github.com/OData/WebApi/issues/484","id":101587384,"number":484,"title":"$count for actions/functions returning collections of complex types","user":{"login":"gordon-matt","id":2860937,"avatar_url":"https://avatars.githubusercontent.com/u/2860937?v=3","gravatar_id":"","url":"https://api.github.com/users/gordon-matt","html_url":"https://github.com/gordon-matt","followers_url":"https://api.github.com/users/gordon-matt/followers","following_url":"https://api.github.com/users/gordon-matt/following{/other_user}","gists_url":"https://api.github.com/users/gordon-matt/gists{/gist_id}","starred_url":"https://api.github.com/users/gordon-matt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordon-matt/subscriptions","organizations_url":"https://api.github.com/users/gordon-matt/orgs","repos_url":"https://api.github.com/users/gordon-matt/repos","events_url":"https://api.github.com/users/gordon-matt/events{/privacy}","received_events_url":"https://api.github.com/users/gordon-matt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-18T07:10:32Z","updated_at":"2015-08-18T07:10:32Z","closed_at":null,"body":"$count does not work for actions/functions returning collections of complex types. See details here:\r\nhttp://stackoverflow.com/questions/31822755/passing-parameters-to-an-odata-get-method-which-returns-a-collection/31823976?noredirect=1#comment51621266_31823976\r\n\r\nThis is a big problem for me, as I need really @odata.count to be returned. Is there a workaround for now? Maybe I can get the source code, change a few lines of code and use that custom build for the moment?"}}