title: How to get the counted numbers of properties from object literals?
body: <p>// Javascript 
  // Using object literal</p>
  
  <pre><code>var kids = {
      dipok: "nursery",
      bonku: "LKG-1",
      jaya: "LKG-2",
      Raj_Kumar: "nursery"
  }
  </code></pre>
  
  <blockquote>
    <p><strong>"I have written this above object literal now i want to display the number of nursery kids eg.- 2 What is the thing i need to display"</strong></p>
  </blockquote>
  
  <p>I have tried this code but it is false as much as i can assume</p>
  
  <p>// I have this code being tired to use</p>
  
  <pre><code>var kkr = (kids.dipok).toString.length,count;
  if(kkr&gt;=1){
      ++count;
      console.log(count);
  }
  </code></pre>