You can work with the Counters object the component creates as if it were a built-in object by calling Counters. Get , Counters. Increment , Counters. Remove , and Counters. You should not create another instance of the Counters object.
Methods Get Returns the value of the counter.
Increment Increases the counter by 1. Remove Removes the counter from the counters.txt file. Set Sets the value of the counter to a specific integer.