Why is the number of characters not changing on click but in console it is? I am trying to change the value of a global variable on click. I have created some code which lim