{"action":"closed","issue":{"url":"https://api.github.com/repos/Quick/Nimble/issues/158","labels_url":"https://api.github.com/repos/Quick/Nimble/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/Quick/Nimble/issues/158/comments","events_url":"https://api.github.com/repos/Quick/Nimble/issues/158/events","html_url":"https://github.com/Quick/Nimble/issues/158","id":97409538,"number":158,"title":"Add 'haveCountOf' matcher","user":{"login":"fatuhoku","id":430233,"avatar_url":"https://avatars.githubusercontent.com/u/430233?v=3","gravatar_id":"","url":"https://api.github.com/users/fatuhoku","html_url":"https://github.com/fatuhoku","followers_url":"https://api.github.com/users/fatuhoku/followers","following_url":"https://api.github.com/users/fatuhoku/following{/other_user}","gists_url":"https://api.github.com/users/fatuhoku/gists{/gist_id}","starred_url":"https://api.github.com/users/fatuhoku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatuhoku/subscriptions","organizations_url":"https://api.github.com/users/fatuhoku/orgs","repos_url":"https://api.github.com/users/fatuhoku/repos","events_url":"https://api.github.com/users/fatuhoku/events{/privacy}","received_events_url":"https://api.github.com/users/fatuhoku/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Quick/Nimble/labels/easy%20contribution","name":"easy contribution","color":"5319e7"},{"url":"https://api.github.com/repos/Quick/Nimble/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Quick/Nimble/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-27T08:16:18Z","updated_at":"2015-10-05T08:53:36Z","closed_at":"2015-10-05T08:53:36Z","body":"With Expecta, I used to write:\r\n\r\n```objc\r\nexpect(array).to.haveCount(2);\r\n```\r\n\r\nBut with Nimble you're forced to say:\r\n\r\n```objc\r\nexpect(@([array count])).to(equal(@2));\r\n```\r\n\r\nA bit more cumbersome. Who else wants something like this?"}}