<commit_before>module DataMapper
  module Aggregates
    module Operators
      def count
        DataMapper::Query::Operator.new(self, :count)
      end

      def min
        DataMapper::Query::Operator.new(self, :min)
      end

      def max
        DataMapper::Query::Operator.new(self, :max)
      end

      def avg
        DataMapper::Query::Operator.new(self, :avg)
      end

      def sum
        DataMapper::Query::Operator.new(self, :sum)
      end
      
      
      def sum_distinct
	      DataMapper::Query::Operator.new(self, :sum_distinct)
      end
      
      def count_distinct
	      DataMapper::Query::Operator.new(self, :count_distinct)
      end    
    end # module Operators
  end # module Aggregates
end # module DataMapper<commit_msg>sum distinct isn't really a great idea<commit_after>module DataMapper
  module Aggregates
    module Operators
      def count
        DataMapper::Query::Operator.new(self, :count)
      end

      def min
        DataMapper::Query::Operator.new(self, :min)
      end

      def max
        DataMapper::Query::Operator.new(self, :max)
      end

      def avg
        DataMapper::Query::Operator.new(self, :avg)
      end

      def sum
        DataMapper::Query::Operator.new(self, :sum)
      end
      
      def count_distinct
	      DataMapper::Query::Operator.new(self, :count_distinct)
      end    
    end # module Operators
  end # module Aggregates
end # module DataMapper
{'fraction_non_alphanumeric': 0.08977900552486189, 'fraction_numerical': 0.0, 'mean_word_length': 2.2635135135135136, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3492542', 'n_tokens_mistral': 435, 'n_tokens_neox': 422, 'n_words': 100}