code: function(options) {
        UT.Collection.validateOptions(options);
        operations = {}; // map of operations results
  
        currentUserId = options.currentUserId;
        delegate = options.delegate;
        data = options.data;
        this.name = data.name;
        count = data.count;
  
        // Build a map of operations : {field_name: {average: 2, average_count: 2, ...}}
        if(data.operations) {
          for(var i = 0; i < data.operations.length; i++) {
            var operation = data.operations[i];
            operations[operation.field] = operations[operation.field] || {};
            opsToolbox[operation.operation].fromJsonData(operations[operation.field], operation);
          }
        }
        initializeItems.call(this, data.items);
      }
docs: constructor