For solving it I\'ve created a table, which contains counters that activated by triggers.
I would like to make a better solution with SCOPE_IDENTITY() or
SCOPE_IDENTITY()