resets the element counter to zero on `page:load`