Ceci est une ancienne révision du document !
Get the length of an object (ES5) :
var size = Object.keys(myObj).length;
Source
if( typeof google_step != 'undefined') { // ... }