JavaScript menghitung elemen dalam objek JSON

  var myObject = {'name':'Sherlock', 'address':'221b Bakerstreet','city': 'London'}

  var count = Object.keys(myObject).length;
  console.log(count);
Light Lemur