also recount elements when using ctrl+z (elementCount should be 100% accurate all the time now)