Write a function count(obj) that returns the number of properties of the object obj.
count({ name: 'John', age: 30 })Returns 2
count({})Returns 0
count({ name: '', age: 0 })Returns 2
count({ name: 'John', age: 30 })2count({})0count({ name: '', age: 0 })2Hidden tests run on Submit.