parameters(req, { limit: undefined })

      // pass all parameters to Waterline - it can
      // do the heavy lifting for us
      .then(model.count.bind(model))