def _update_trigger_ref_count(self, trigger_db, ref_count):
        trigger_db.ref_count = ref_count
        Trigger.add_or_update(trigger_db, publish=False, dispatch_trigger=False)
Non-publishing ref_count update to a TriggerDB.
dataset/ETHPy150Open StackStorm/st2/tools/migrate_triggers_to_include_ref_count.py/TriggerMigrator._update_trigger_ref_count