Well, something like this:
TicketModel.count().exec(function (err, count) {
    var render_data = {
        page: page+1,
        tickets: tickets,
        pages: Math.ceil(count/perPage)
    }
    res.json(render_data);
})
But I admit that this change the restful API data structure and may have impacts for the plugins.js