title: print value in nodejs on console
body: <p>I am working on nodejs with mongodb. I have one table in mongo with _id and usercount.When i am trying to get the value from database and trying to print on console with console.log(docs). It is printing both _id and usercount. But when i want to try only usercount with console.log(docs.usercount).. it is giving undefined.</p>
  
  <pre><code>Uservisitcount.find({},function(err,docs){
   console.log(docs);
  </code></pre>
  
  <p>this is giving output as
     [{"_id":"xyz","usercount":0}]</p>
  
  <p>how i will retrieve value of usercount only.</p>