<script>
  let count = 0;
  function increment() {
    count += 1;
  }
</script>

<div>
  <button>
    {count}
  </button>
</div>
