{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/312","labels_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/312/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/312/events","html_url":"https://github.com/elastic/elasticsearch-dsl-py/issues/312","id":123052153,"number":312,"title":"would be convenient if result class support count() for pagination","user":{"login":"pcompassion","id":84749,"avatar_url":"https://avatars.githubusercontent.com/u/84749?v=3","gravatar_id":"","url":"https://api.github.com/users/pcompassion","html_url":"https://github.com/pcompassion","followers_url":"https://api.github.com/users/pcompassion/followers","following_url":"https://api.github.com/users/pcompassion/following{/other_user}","gists_url":"https://api.github.com/users/pcompassion/gists{/gist_id}","starred_url":"https://api.github.com/users/pcompassion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcompassion/subscriptions","organizations_url":"https://api.github.com/users/pcompassion/orgs","repos_url":"https://api.github.com/users/pcompassion/repos","events_url":"https://api.github.com/users/pcompassion/events{/privacy}","received_events_url":"https://api.github.com/users/pcompassion/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-19T01:23:40Z","updated_at":"2016-01-05T12:16:25Z","closed_at":"2016-01-05T11:44:29Z","body":"I'm trying to get total count of result for pagination, and it seems not be supported atm.\r\n\r\n`response._d_['hits']['total']`\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/comments/168984484","html_url":"https://github.com/elastic/elasticsearch-dsl-py/issues/312#issuecomment-168984484","issue_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/312","id":168984484,"user":{"login":"zahir-koradia","id":1875683,"avatar_url":"https://avatars.githubusercontent.com/u/1875683?v=3","gravatar_id":"","url":"https://api.github.com/users/zahir-koradia","html_url":"https://github.com/zahir-koradia","followers_url":"https://api.github.com/users/zahir-koradia/followers","following_url":"https://api.github.com/users/zahir-koradia/following{/other_user}","gists_url":"https://api.github.com/users/zahir-koradia/gists{/gist_id}","starred_url":"https://api.github.com/users/zahir-koradia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zahir-koradia/subscriptions","organizations_url":"https://api.github.com/users/zahir-koradia/orgs","repos_url":"https://api.github.com/users/zahir-koradia/repos","events_url":"https://api.github.com/users/zahir-koradia/events{/privacy}","received_events_url":"https://api.github.com/users/zahir-koradia/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T12:16:25Z","updated_at":"2016-01-05T12:16:25Z","body":"Ah, okay. Thanks for the clarification."}}