Returns the count of enumerable own properties on an object.
The object to count properties of
The number of properties
const count = countProperties({ a: 1, b: 2 }); // 2 Copy
const count = countProperties({ a: 1, b: 2 }); // 2
Returns the count of enumerable own properties on an object.