I have a condition if a new record appears, then a message should be displayed. And I am having a problem in counter. When a new first record is added, counter at this stage