{"action":"opened","issue":{"url":"https://api.github.com/repos/MModel/MetaModel/issues/6","repository_url":"https://api.github.com/repos/MModel/MetaModel","labels_url":"https://api.github.com/repos/MModel/MetaModel/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/MModel/MetaModel/issues/6/comments","events_url":"https://api.github.com/repos/MModel/MetaModel/issues/6/events","html_url":"https://github.com/MModel/MetaModel/issues/6","id":175405173,"number":6,"title":"Use var count instead of function count","user":{"login":"Draveness","id":6493255,"avatar_url":"https://avatars.githubusercontent.com/u/6493255?v=3","gravatar_id":"","url":"https://api.github.com/users/Draveness","html_url":"https://github.com/Draveness","followers_url":"https://api.github.com/users/Draveness/followers","following_url":"https://api.github.com/users/Draveness/following{/other_user}","gists_url":"https://api.github.com/users/Draveness/gists{/gist_id}","starred_url":"https://api.github.com/users/Draveness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Draveness/subscriptions","organizations_url":"https://api.github.com/users/Draveness/orgs","repos_url":"https://api.github.com/users/Draveness/repos","events_url":"https://api.github.com/users/Draveness/events{/privacy}","received_events_url":"https://api.github.com/users/Draveness/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-07T03:31:52Z","updated_at":"2016-09-07T03:31:52Z","closed_at":null,"body":"Currently, when we need to fetch models count from database, we need to call\r\n\r\n```swift\r\nUser.count()\r\n```\r\n\r\nBut `User.count` is much simpler.\r\n\r\nNeed to both modify MetaModel-template Person.swift file and corresponding file in swift erb template file"}}
{"actor":{"display_login":"Draveness"}}