diff --git a/horilla_views/templates/generic/group_by.html b/horilla_views/templates/generic/group_by.html
index ef763b7ea..84ec53d15 100644
--- a/horilla_views/templates/generic/group_by.html
+++ b/horilla_views/templates/generic/group_by.html
@@ -10,7 +10,7 @@
reloadSelectedCount($('#count_{{view_id|safe}}'));
"
style="cursor: pointer;">
- {% trans "Select All" %}{{select_all_path}}
+ {% trans "Select All" %} {{queryset.paginator.count}}
{% for action in actions %}
- {{action.action}}
+ {{instance|getattribute:action.action|default:action.action}}
{% endfor %}
diff --git a/horilla_views/templates/generic/horilla_list.html b/horilla_views/templates/generic/horilla_list.html
index 76b5e0541..8becf9257 100644
--- a/horilla_views/templates/generic/horilla_list.html
+++ b/horilla_views/templates/generic/horilla_list.html
@@ -14,7 +14,7 @@
reloadSelectedCount($('#count_{{view_id|safe}}'));
"
style="cursor: pointer;">
- {% trans "Select All" %}{{select_all_path}}
+ {% trans "Select All" %} {{queryset.paginator.count}}
{% trans "Filter" %}
@@ -214,7 +214,7 @@