count_tasks
Count tasks matching specified filters and return a total count with a breakdown by status. Quickly find out how many tasks meet criteria without fetching full details.
Instructions
Count tasks matching filters without returning the full list. Fast 'how many' queries that return a total plus a breakdown by status. Uses the same filters as filter_tasks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flagged | No | Only count flagged (true) or unflagged (false) tasks | |
| overdue | No | Only count overdue tasks | |
| dueToday | No | Only count tasks due today | |
| tagFilter | No | Only count tasks with these tags | |
| searchText | No | Only count tasks whose name or note contains this text | |
| taskStatus | No | Filter by task status: Available, Next, Blocked, DueSoon, Overdue, Completed, Dropped | |
| dueThisWeek | No | Only count tasks due this week | |
| perspective | No | Scope: 'inbox', 'flagged', or 'all' (default: all) | |
| plannedToday | No | Only count tasks planned for today | |
| exactTagMatch | No | Require exact tag name match (default: false) | |
| projectFilter | No | Only count tasks in projects whose name contains this text | |
| completedToday | No | Only count tasks completed today | |
| plannedThisWeek | No | Only count tasks planned for this week | |
| completedThisWeek | No | Only count tasks completed this week |