Update #count usage to count scope when using arel