able to set/change the element's data-count value to current count.