JavaScript: Get Object Size (number of keys)