{"action":"opened","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/96","labels_url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/96/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/96/events","html_url":"https://github.com/ParsePlatform/parse-php-sdk/issues/96","id":69544506,"number":96,"title":"matches query count issue ","user":{"login":"manojvelyalan","id":9139756,"avatar_url":"https://avatars.githubusercontent.com/u/9139756?v=3","gravatar_id":"","url":"https://api.github.com/users/manojvelyalan","html_url":"https://github.com/manojvelyalan","followers_url":"https://api.github.com/users/manojvelyalan/followers","following_url":"https://api.github.com/users/manojvelyalan/following{/other_user}","gists_url":"https://api.github.com/users/manojvelyalan/gists{/gist_id}","starred_url":"https://api.github.com/users/manojvelyalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manojvelyalan/subscriptions","organizations_url":"https://api.github.com/users/manojvelyalan/orgs","repos_url":"https://api.github.com/users/manojvelyalan/repos","events_url":"https://api.github.com/users/manojvelyalan/events{/privacy}","received_events_url":"https://api.github.com/users/manojvelyalan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-20T09:20:56Z","updated_at":"2015-04-20T09:20:56Z","closed_at":null,"body":"Hi\r\nwhen I use the matches query in my query  the count of reccord is showign wrong. please find my  query below\r\n\r\npublic function TotalCount($subType) {\r\n        $query = \\Parse\\ParseUser::query();\r\n        $query->containedIn(\"accountType\",[\"EU7VlXpVFz\", \"m3ZSohWwFj\", \"lTilWmTI4Y\"]);     \r\n\tif($subType != \"\") {           \r\n            $innerQuery = new \\Parse\\ParseQuery(\"General_Info\");\r\n            $innerQuery->equalTo('responderType', $subType);\r\n            //$innerQuery->limit(1000000);\r\n            $query->matchesQuery(\"responderInfo\", $innerQuery);           \r\n        }    \r\n        $query->descending(\"createdAt\");\r\n        return $query->count();\r\n    }\r\nif am not setting the innerquery->limit manually it is giving the count only 100.The total reccord is more than hundred.\r\n\r\nIf am not setting the subtype it is giving me correct count.\r\n"}}