Count Rows
count_rowsThe live row count of a v2 app's collection (spec B4, issue #1056), a whole-scope total with no filter and no paging. Gated by the collection's countRead opt-in, independent of its read list: a collection that opted in returns its count even to a caller who cannot list the rows (the '3 spots left' shape), and a collection that never opted in refuses with collection_count_forbidden even for a caller who could otherwise list. Returns { count }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The app id. | |
| collection | Yes | The collection name declared in the app's manifest. |