# Number Counter: Stat & chart element for AI agents

> Rolling counter: each digit spins on its own reel and lands in turn, with a label

Canonical page: https://agentframes.ai/elements/sorbet/number-counter/
Markdown: https://agentframes.ai/elements/sorbet/number-counter.md

## Overview

- Name: Number Counter (`numberCounter`), an element: one HyperFrames block per size
- Part of: the [Sorbet](https://agentframes.ai/packs/sorbet.md) pack (34 of 42). Available only through the All-access subscription.
- Category: Stat & chart
- Purpose: Rolling counter: each digit spins on its own reel and lands in turn, with a label
- Pack: [Sorbet](https://agentframes.ai/packs/sorbet.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 4:5 (native), 9:16 (stage-fit), 1:1 (stage-fit), 16:9 (stage-fit)
- Canvases: works on coral facets (`o`), raspberry facets (`k`), blush facets (`b`); avoid cream (`w`)
- Typical duration: 2.8s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/sorbet/number-counter.mp4
- Poster: https://agentframes.ai/media/sorbet/number-counter.jpg
- Native 4:5 preview (watermarked): https://agentframes.ai/media/sorbet/number-counter-native.mp4
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Sorbet pack. Add a `numberCounter` beat to plan.json on a `o` canvas with slots `value`, `prefix`, `suffix` and `label` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `value` | string | Value | Plain text. | 2480 |
| `prefix` | string | Prefix | Plain text. |  |
| `suffix` | string | Suffix | Plain text. | + |
| `label` | string | Label | Plain text. | happy customers this year |

## What your agent can change

### Surface

Rolling counter: each digit spins on its own reel and lands in turn, with a label. Category: `stat`. Canvases: ok `o, k, b`; avoid `w` (the element vanishes on these). Typical 2.8s; settles at 2s.

### Editable (fill through plan.json `slots`)

- `value` (string) **EXAMPLE DATA: replace or get client sign-off**. Plain text.
- `prefix` (string). Plain text.
- `suffix` (string). Plain text.
- `label` (string) **EXAMPLE DATA: replace or get client sign-off**. Plain text.

### Protected

Do not change the motion, timing, easing, bounce, the palette roles (colours come from frame.md → tokens.css), fonts, or the element's internal layout. Keep copy close to the default length (±25%) so it fits.

### Safe editing

Set values in the beat's `slots` in plan.json, run `tools/validate.mjs`, rebuild, and check `qa/contact.jpg`. Never hand-edit the generated index.html or this element's code for a single video.

## FAQ

### What can my AI agent change in Number Counter?

Your agent fills the `value`, `prefix`, `suffix` and `label` slots through plan.json. Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Sorbet look.

### Which aspect ratios does Number Counter support?

Number Counter is designed natively for 4:5 and stage-fits into 9:16, 1:1 and 16:9. A typical beat lasts 2.8s.

### How do I get Number Counter?

Number Counter is included in the Sorbet pack, which is part of the AgentFrames All-access subscription along with 41 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

## More in Sorbet

- [Big Number](https://agentframes.ai/elements/sorbet/big-number.md): One huge number counting up in a cream circle, label and sparkles
- [Milestone](https://agentframes.ai/elements/sorbet/milestone.md): Milestone thank-you: number counts up, giant vertical wordmark, scrolling ticker rules
- [Bar Chart](https://agentframes.ai/elements/sorbet/bar-chart.md): Compare 3-7 values over time/categories; highlight the winner
- [Wordmark Reveal](https://agentframes.ai/elements/sorbet/wordmark-reveal.md): Brand reveal: giant cropped two-line wordmark, letters bounce in, tagline follows

## Community

Coming soon.
