Customization > Automation Interface > Functions > For System Simulations > Event Functions > GetParameterCount function (automation interface)
  
GetParameterCount function (automation interface)
Syntax:
GetParameterCount
Returns the number of parameters required for the current event as a string.