requestAnimationFrame counter