# File lib/arel/algebra/attributes/attribute.rb, line 230 def count(distinct = false) distinct ? Distinct.new(self).count : Count.new(self) end