*Workflows › Reference › Actions › Maintenance*

# Count incidents by status

> Returns how many incidents there are in each status and the total. With no filters it counts all of the account's; with several, only those that meet all of them.

## At a glance

| Property | Value |
| --- | --- |
| Domain | `incidents` |
| Group in the editor | Maintenance › Incidents |
| Runs as | The owner of the workflow, with their permissions |
| Permission | View access to Incidents. Administrators always pass; a module outside the plan blocks everyone. |
| Add-on | Maintenance |
| Destructive | No: the public MCP catalogue does not mark it as destructive |
| Also available in | REST API, MCP (`filmo_incidents_status_counts`) |

ACTION `incidents.status.counts`

## Inputs

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `orderId` | string | No | **Order.** Optional. Counts only the incidents of this order. |
| `projectId` | string | No | **Project.** Optional. Counts only the incidents of this project. |
| `itemId` | string | No | **Item.** Optional. Counts only the incidents of this item. |
| `serializedItemId` | string | No | **Serialized unit.** Optional. Counts only the incidents of this unit. |
| `vehicleId` | string | No | **Vehicle.** Optional. Counts only the incidents of this vehicle. |
| `spaceId` | string | No | **Space.** Optional. Counts only the incidents of this space. |

## Outputs

| Name | Type | Description |
| --- | --- | --- |
| `counts` | json |  |
| `total` | number |  |

---

Canonical URL: https://docs.filmo.io/workflows/reference/actions/incidents-status-counts  
Last updated: 2026-10-25