This has basic changes to add async counting.
Running `bin/rspec spec/controllers/admin/dashboard_controller_spec.rb` passes in main and should pass here.
Related to: https://github.com/rails/rails/issues/50776#issuecomment-2148308441
Once Rails 7.1.4 (or 7.2) released, this can rebase and should work.