Report question

Question: Using named_scope to get row count