code: function count(req, res, next) {
    db.posts.count(function(err, count) {
      if(err) { return next(err); }
      res.json({count: count});
    });
  }
docs: URL: /posts/count
  
  Method: GET
  
  Status codes:
  
  * `200` ok