Template:Immunities/count

This template returns the number of NPCs immune to a certain debuff. It behaves in a similar manner to immunities, accepting the name of the debuff as the first unnamed parameter. By default, this is the page name.