get the number of elements of a object code example Example: javascript get number of elements in object Object.keys(obj).length