{"action":"opened","issue":{"url":"https://api.github.com/repos/praekelt/vumi/issues/958","labels_url":"https://api.github.com/repos/praekelt/vumi/issues/958/labels{/name}","comments_url":"https://api.github.com/repos/praekelt/vumi/issues/958/comments","events_url":"https://api.github.com/repos/praekelt/vumi/issues/958/events","html_url":"https://github.com/praekelt/vumi/issues/958","id":93767622,"number":958,"title":"Implement `__len__()` in wrapped Riak page objects","user":{"login":"JayH5","id":1748643,"avatar_url":"https://avatars.githubusercontent.com/u/1748643?v=3","gravatar_id":"","url":"https://api.github.com/users/JayH5","html_url":"https://github.com/JayH5","followers_url":"https://api.github.com/users/JayH5/followers","following_url":"https://api.github.com/users/JayH5/following{/other_user}","gists_url":"https://api.github.com/users/JayH5/gists{/gist_id}","starred_url":"https://api.github.com/users/JayH5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JayH5/subscriptions","organizations_url":"https://api.github.com/users/JayH5/orgs","repos_url":"https://api.github.com/users/JayH5/repos","events_url":"https://api.github.com/users/JayH5/events{/privacy}","received_events_url":"https://api.github.com/users/JayH5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-08T11:33:32Z","updated_at":"2015-07-08T11:33:32Z","closed_at":null,"body":"The underlying Riak client library objects implement `__len__()` so this should be possible. This should be a small optimisation for counting the length of items in a page (which doesn't happen that often).\r\n\r\nClass of interest is `vumi.persist.riak_base.VumiIndexPageBase`"}}