@register.simple_tag<EOL>def numRegisteredForRole(event, role):
if not isinstance(event, Event) or not isinstance(role, DanceRole):<EOL><INDENT>return None<EOL><DEDENT>return event.numRegisteredForRole(role)<EOL>
This tag allows one to access the number of registrations
for any dance role.