There is a table in which to avoid duplicates created by the column count, which is updated every time when trying to add a duplicate, all this is implemented on the basis of a unique index on these columns.
To add/update, use the syntax:
INSERT INTO table (columns..)
ON CONFLICT (..columns) DO
UPDATE SET count = table.count + 1
And every time UPDATE is called, the SEQUENCE value is changed to n+1
Is it possible for this process to influence?