Count number of keys in object with Coffeescript

coffeescript, javascript

Solution

Object.keys(obj).length

It should work the same way in coffeescript

see example

Problem

I would like to know how many keys are in my coffeescript object. I can do it with this in js: `Object.keys(obj).length` Is there a way to do this in Coffeescript?

Original source