def increment_trigger_ref_count(rule_api):
    trigger_dict = _get_trigger_dict_given_rule(rule_api)

    # Special reference counting for trigger with parameters.
    if trigger_dict.get('parameters', None):
        trigger_db = _get_trigger_db(trigger_dict)
        Trigger.update(trigger_db, inc__ref_count=1)
Given the rule figures out the TriggerType with parameter and increments
dataset/ETHPy150Open StackStorm/st2/st2common/st2common/services/triggers.py/increment_trigger_ref_count