<script>
var counter = 0;
setInterval(function () {
document.getElementById("sayi").innerHTML = counter;
counter++;
}, 1000);
</script>