changed the user_controller tags grouping count so it will work in rails 4