Unfortunately there is no "total layouts in subset" autotext.
But there is a workaround although a little messy.
Place a section or detail marker off to the side of your model in plan view.
Make sure the marker has the autotext turned on for the layout number.
(I thought it was "#LayNo" now in V10 & 11 but it seems "<PmAShNo>" works and is what is used in the markers - maybe just the AUS library?)
Create a viewset of this section or detail.
Place this section or detail on the last layout of your subset.
Now in all the layouts in your subset you must place a drawing of you plan and crop it to the section/detail marker which should now be showing the last sheet number.
If you move the drawing on your last layout to any other layout or you re-order you layouts the total number of sheets will change - so make sure you always have that drawing on the last layout.
Of course if you only have one subset you do not need to do this - just the total layout number.
If you have more than one subset make sure they all number the layouts independent of each other and you will need a separate section/detail number for each subset on the plan - so one for each of your departments in this case.
Once you have it set up in your template it should be just a matter of keeping the section/detail drawing on the last page of each subset if you are inclined to add and delete layouts.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11