How to display the number of elements of a view with twig?
I created a view of 50 products with a pagination (12 products per page).
If I type the following code:
{{ drupal_view_result('boutique_page_produit', 'block_2')|length }}
This displays the number of items in the view's page (12). I want the total element number of my element (50).
How to do this ?
One solution would be to create a second view without pagination, but is there another solution ?