Astro.cookies
Cookies
Astro.cookies works as it does on any server, once the pull zone stops stripping the header.
You have loaded this page 1 time.
One setting to check
A pull zone created for an Edge Script has Disable cookies switched on, and it strips Set-Cookie from every response. Turn it off, or the counter never moves:
bunny api POST /pullzone/<pull-zone-id> --body '{"DisableCookies": false}'