count aggregation in place
Added collect aggregation
support for belongsTo relation