I am finishing up my first RoR project, and am working on a leaderboard system that shows the number of points users have accrued for correctly answering quiz questions.

I am getting all of the users that have answered *at least* one question correct, grouping them by user\_id, and displaying them in descending order by most correct using this:

```
@users = Point.find(:all, 
                    :group => 'user_id',
                    :order => 'correct DESC', :conditions => { :correct => "yes"})

```

In my view, I am using this to iterate through the results:

```
<% @users.each_with_index do |user, index| %>

```

However, I am not able to get the number of correct answers per user. I tried:

```
user.count 

```

but that doesn't work. How do I get the number of items per group?