{"action":"closed","issue":{"url":"https://api.github.com/repos/arangodb/arangojs/issues/73","labels_url":"https://api.github.com/repos/arangodb/arangojs/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/arangodb/arangojs/issues/73/comments","events_url":"https://api.github.com/repos/arangodb/arangojs/issues/73/events","html_url":"https://github.com/arangodb/arangojs/issues/73","id":111024134,"number":73,"title":"Cursor.count is always undefined","user":{"login":"Kurtas","id":970983,"avatar_url":"https://avatars.githubusercontent.com/u/970983?v=3","gravatar_id":"","url":"https://api.github.com/users/Kurtas","html_url":"https://github.com/Kurtas","followers_url":"https://api.github.com/users/Kurtas/followers","following_url":"https://api.github.com/users/Kurtas/following{/other_user}","gists_url":"https://api.github.com/users/Kurtas/gists{/gist_id}","starred_url":"https://api.github.com/users/Kurtas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kurtas/subscriptions","organizations_url":"https://api.github.com/users/Kurtas/orgs","repos_url":"https://api.github.com/users/Kurtas/repos","events_url":"https://api.github.com/users/Kurtas/events{/privacy}","received_events_url":"https://api.github.com/users/Kurtas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-12T17:55:35Z","updated_at":"2015-10-13T06:01:37Z","closed_at":"2015-10-13T06:01:37Z","body":"Hi, \r\n\r\nI have problem with Cursor, cursor.count should return total number of documents in the query result, but it is always undefined, even although the query has any results. There should be 0 if query don't have any result.\r\n\r\nUsing arangojs 2.14.2\r\n\r\n```\r\nArrayCursor {\r\n  extra:\r\n   { stats:\r\n      { writesExecuted: 0,\r\n        writesIgnored: 0,\r\n        scannedFull: 3,\r\n        scannedIndex: 0,\r\n        filtered: 2 },\r\n     warnings: [] },\r\n  _connection:\r\n   Connection {\r\n     config:\r\n      { url: 'http://localhost:8529',\r\n        databaseName: 'db',\r\n        arangoVersion: 20300,\r\n        promise: [Object],\r\n        agentOptions: [Object],\r\n        headers: [Object] },\r\n     _request: [Function: request],\r\n     promisify: [Function] },\r\n  _api:\r\n   Route {\r\n     _connection:\r\n      Connection {\r\n        config: [Object],\r\n        _request: [Function: request],\r\n        promisify: [Function] },\r\n     _path: '_api',\r\n     _headers: undefined },\r\n  _result:\r\n   [ { hostname: 'RRA1',\r\n       sn: '10.52.255.1',\r\n       _id: 'vDevice/79116270599',\r\n       _rev: '79116270599',\r\n       _key: '79116270599' } ],\r\n  _hasMore: false,\r\n  _id: undefined,\r\n  _index: 0,\r\n  count: undefined }\r\n```"}}