Report question

Question: Rails 3 Order By Count on has_many :through