I'm using QGIS print layout to create an atlas with around 180 features. I'm trying to find a way to add page number in print layout.
I tried adding text label with
[% @atlas_featurenumber %] to show page number, but I have multiple pages for each feature (and they are added dynamically depending on the amount of data in tables), so it does not work well (it shows feature number instead of page number because features have multiple pages).
Is there a direct way to insert page number to print layout?