need to figure out if soln for DOM counter is data attribute or .text use in function after onclick