A small update about this, I managed to get the total of my views using the following code in my twig template
{{ drupal_view_result('frontpage')|length }}
The reason I want to be able to render it like this is because I want the views count to be visible in my Navbar menu and not in page content.
Ah, same as Sunlix, based on the documentation I was expecting the total result of the page.
Thank alot for the help Chi
KhaledAmer → created an issue.
So I managed to solve this issue. I had to drag "Authenticated user" from the second row al the way to the last row in order for it to not overwrite the other roles (admin and content editor).
KhaledAmer → created an issue.
Thank you @gisle, very much
KhaledAmer → created an issue.