Count
Run deterministic zero-token roll-ups, lookups and formulas over the narrowest anonymous view in a period.
count · counting · countedOverview
Count runs deterministic roll-ups, lookups and formulas over an entity view within a bounded period, at zero model token cost. Wireframe spec A2 Ruling 4 Doctrine §7 It sits in the commitment slot to produce derived numeric cells and supplies verified baseline figures to intake panels for goals and decisions. Wireframe spec B Ruling 36
Count covers the full family of deterministic calculations (count, sum, average, median, min, max and formula ratios) permitted by an attribute's value type. Wireframe spec A2 Constitution, article 6 Vocabulary term 15
Tenses
| Tense | Form | Role in the system |
|---|---|---|
| Future | count | Names the deterministic roll-up or calculation task type. Wireframe spec A Wireframe spec A2 |
| In progress | counting | Active deterministic query or calculation running over the view. Wireframe spec A Wireframe spec A2 |
| Completed | counted | Immutable event type recorded alongside the derived numeric cell. Wireframe spec A Wireframe spec A2 |
Inputs
| Input | Purpose |
|---|---|
| Materialised view | Narrowest anonymous entity or ID view for the period, excluding unneeded identifying fields under the Tail-Light Rule. Wireframe spec A2 Ruling 15 Ruling 18 Doctrine §7 |
| Value type rules | Measurement scale declaring permitted aggregations; for example, temperatures may be averaged but never summed, and ordinal levels take a median, never a mean. Constitution, article 6 |
| Period | Bounded period span over which cells are counted or rolled up. Wireframe spec A2 Vocabulary term 12 |
Outputs
Count appends a deterministic numeric cell stamped with period and provenance and emits a counted event. Wireframe spec A2 Ruling 4 Every displayed figure must be labelled raw, formula, roll-up or calculation, and aggregate figures must appear visually distinct from single entity answers. Ruling 36 Wireframe review B4 Public group aggregates must satisfy the anonymity floor of 50 to 100 members (publish at 100, target 200; show market coming soon below the floor). Ruling 55
Who performs it
Code only (pure deterministic math and SQL views), never a probabilistic model. Ruling 4 Ruling 15 Doctrine §7 Deterministic counts, lookups and roll-ups cost zero tokens (Code only, $0.00) and run inside the deterministic flow container before any probabilistic slot is invoked. Ruling 4 Doctrine §8 Reference: task-types.json The store rejects any roll-up disallowed by the attribute's value type. Constitution, article 6
Topics
Used in task types
Produces the prior four-quarter active client roll-up values shown in the intake context of EFS's Set quarterly advisory capacity goal in Task types. Wireframe spec B Wireframe review B4 Also powers deterministic rule steps (Delivery rule step · Code only · $0.00 / run) and live metric strips across Delivery flows. Wireframe review C2