You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: dashboards_controller.rb
    path of file: ./repos/onebody/app/controllers/administration
    
    the code of the file until where you have to start completion: class Administration::DashboardsController < ApplicationController
  before_action :only_admins

  # TODO: refactor into presenter
  def show
    @admin_
    
  def show
    @admin_count = Person.administrators.count
    @update_count = Update.pending.count
    @email_changed_count = Person.email_changed.count
    @last_import = Import.last
    @import_errors_count = @last_import ? @last_import.rows.errored.count : 0
    @groups_pending_approval_count = Group.unapproved.count
    @membership_request_count = MembershipRequest.count
    if @attendance_last_date = AttendanceRecord.maximum(:attended_at)
      @attendance_records_count = AttendanceRecord.on_date(@attendance_last_date).count
    end