I have some code which is intended to update a counter that\'s inside of a set interval block. My intent is to have the counter updated once every time the set timeout funct