JavaScript: Counting the length of objects within an object

From The Travis van der Font Wiki
Jump to: navigation, search
Object.keys(data).length
Alternatively, feel free to reference: Temperature.js' countObject()