booboo_count
Filter graph nodes by criteria, group by fields, and count to answer 'how many', top-N, and date-window questions with ranked results.
Instructions
Aggregate: filter the graph, then group and count. Use for 'how many', 'top N', 'most/least' and any date-window question — search ranks, this counts. e.g. major incidents in a date window: {type:'observation', where:{'data.kind':'incident','data.severity':'major'}, since:'2026-07-12'}; the biggest absence offender: {where:{'data.kind':'absence'}, groupBy:'data.subject'}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| layer | No | ||
| limit | No | max groups returned, ranked by count (default 20) | |
| since | No | ISO date lower bound, inclusive | |
| until | No | ISO date upper bound, inclusive | |
| where | No | exact-match filters; node fields or dotted data paths like data.kind | |
| cluster | No | ||
| groupBy | No | field or data.* path to group by; omit for a plain total | |
| dateField | No | which field the window applies to (default data.date) |