Send paramaters function @computed

I have tried to used a top_tags copy. So i can get the tags of my current category, it’s great… but i don’t have the tags count… How modify the top_tags in order to have the tags count?

def self.top_tags2(limit_arg: nil, category: nil, guardian: nil)
limit = limit_arg || SiteSetting.max_tags_in_filter_list
scope_category_ids = (guardian||Guardian.new).allowed_category_ids

if category
  scope_category_ids &= ([category.id] + category.subcategories.pluck(:id))
end

tags = DiscourseTagging.filter_allowed_tags(
  tags_by_count_query(limit: limit).where("topics.category_id in (?)", scope_category_ids),
  nil, # Don't pass guardian. You might not be able to use some tags, but should still be able to see where they've been used.
  category: category
)

tags.count(COUNT_ARG).map {|name, _| name}

end

The last lane only return the tags name, not the count… but i need to have the count to make the tags cloud…