Ceci est une ancienne révision du document !
Get the length of an object (ES5) :
var size = Object.keys(myObj).length;