{{ _('customers.empty_filtered') if stage_counts.get('__all__', total) > 0 else _('customers.empty') }}