How do I display the total number of items in a view ?

Created on 8 April 2024, 10 months ago

I have a website that works with Drupal 10.2.5

I have 200 articles published.

I created a views block with the last 5 articles. I therefore limit the number of elements to 5.

I want to display in the header of my views the total number of articles, which is 200.

Here is my problem:

This does not work because the views only counts the number of elements displayed 5. How to calculate the total number of elements?

I tested all the available tokens and none are capable of doing this.

Can you add a token in Drupal to do this?

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated about 4 hours ago

Created by

πŸ‡«πŸ‡·France zenimagine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024