Pagination of a repeating group

Tell me how to implement such pagination of a repeating group

This YouTuber had a good two part video on how to do it really easily

thanks for the video, but I don’t know how to display 1,2,3,4,5,6…46,47,48,49,50 and when you click for example on page 5, so that the number of the next page is shown

His other video demonstrates that, but not exactly as you’re askinf

yes i saw this video and it doesn’t solve my problem