JavaScript Count Object Property

http://stackoverflow.com/questions/126100/how-to-efficiently-count-the-number-of-keys-properties-of-an-object-in-javascrip

Object.keys(obj).length