Get the length of own enumerable properties on an object excluding the object's prototype properties.