shows how to do automatic aggregation on relationships in batman.js