How to display the total number of article/page on a term views? In Drupal 7. We created a Views to list all pages assigned to this particular TermA. But some of these pages can only be view by registered user. We would like to show the total number of pages in this TermA, so un-registered user know how many articles/pages they are missing without register. So how can I display the total number of pages in this TermA in View(not the term menu link)? It will be nice to show that number next to(or under) the Views title(see screenshots).

Current setting on views and display



wanna have total number of articles in this TermA like this
You could achieve this by creating view attachment or block which will calculate the total number of nodes per term. Do not add access rule for this case. This can be then called in the header of the Taxonomy Term View using Global:View where you can select the newly created view and its display.