def aggregate(type, ts)
      Octo::Enterprise.each do |enterprise|
        aggregate_baseline enterprise.id, type, ts
      end
    end
def aggregate(type, ts)
      Octo::Enterprise.each do |enterprise|
        aggregate_baseline enterprise.id, type, ts
      end
    end
Does an aggregation of type for a timestamp
 @param [Fixnum] type The counter type for which aggregation
   has to be done
 @param [Time] ts The time at which aggregation should happen