title: how to get length of list received in ajax response?
body: <p>i am receiving <code>list</code> of objects in Ajax success response, now i want to calculate <code>size</code> of that array/ object. how to get it ?</p>
  
  <p><strong>code:</strong></p>
  
  <pre><code>success: function (result) 
                  {
                //  alert("back to succes.!");
                    $('#status').text("");   
                   var mera_obj = result.key;  
                   contents = mera_obj;
               }
  </code></pre>