title: JSON - Find the length of objects
body: <p>HI,</p>
  
  <p>I'm having a JSON parsed return object set.</p>
  
  <pre><code>{
    "word":[
        "offered",
        "postings"
    ],
  
    "annotation":[
        ["offered highlighted","this is also given as annotation","This annotation has been added here currently","offering new annotation points","\"offered\" is in the sense of languages"],
        ["my postings","this is new annotation for postings.","my postings","this is posting annotation.... Working for the feature of the annotation."]
    ],
  
    "user":[
    ["","","vinoth","Anonymous","Vinoth"],
    ["Anonymous","vinoth","Anonymous","Arputharaj"]
    ],
  
    "id":[
    ["58","60","61","63","68"],
    ["32","57","59","62"]
    ],
  
    "comment":
    {
      "id58":["first comment","This is a old comment for this annotation","Next level of commenting.","Fourth comment to this annotation","testing"],
      "id61":["this is an old annotation.\r\nMy comment is very bad about this.","Second comment to this annotation"],
      "id57":["I want to add one more comment to this"]
      },
  
      "commentUser":{
        "id58":["vinoth","Anonymous","Vinothkumar","Vinothkumar","vinoth"],
        "id61":["Anonymous","Commentor"],
        "id57":["vinoth"]
        }
    }
  </code></pre>
  
  <p>I want to know about the length of each object and array.</p>
  
  <p>I've used <code>.length</code> to get the length of <code>annotation[0].length</code>. I'm getting the expected result i.e.: 5. The same is to "user" &amp; "id".</p>
  
  <p>But I'm not getting the lengths of "word", "id58", "id61", etc...
  Also I want to know about the length of the <code>comment</code> &amp; <code>commentUser</code>.</p>
  
  <p>Please help me in this.</p>