I have a Mail model with the following schema:
Mail
t.string \"mail\" t.integer \"country\" t.boolean \"validated\" t.datetime \"created_at\" t.d
Mail.find( :all, :select => 'count(*) count, country', :group => 'country', :conditions => ['validated = ?', 't' ], :order => 'count DESC', :limit => 5)
This should give you records that have a country attribute and a count attribute.