class ActiveAdmin::Views::Scopes

def get_scope_count(scope)

Return the count for the scope passed in.
def get_scope_count(scope)
  collection_size(scope_chain(scope, collection_before_scope))
end