Thanks Angelo for your reply,
But in the working example, the script is as follows:
$("#counterValueLabel").html(obj6262_counterValue);
Can you please explain what is countervaluelabel?
also, I tried your line, and it worked, but the font and size of the counter value got reduced to the original default size and font
How can I make a counter like the one in the example project where the counter value stays written with the same font?