count_indicators
Count UNESCO UIS indicators matching precise filter criteria, including theme, disaggregation, year coverage, and update date. Returns the exact count and a summary of filters applied.
Instructions
Count UNESCO UIS indicators matching precise filter criteria.
Use this tool when the user wants to know how many indicators exist for a given combination of filters, including year coverage or update date constraints. Unlike search_indicators, this tool returns an exact count and accepts year range filters.
All provided filters are combined with AND logic. If no filters are provided, returns the total count of all indicators in the database.
Args: theme: Exact theme code (from list_themes). disaggregation_types: List of disaggregation type codes. Indicators must support ALL listed types. disaggregation_values: List of disaggregation value codes. Indicators must match ALL listed values. coverage_start_year: Only count indicators whose data begins by this year (i.e. timeLine_min <= year). coverage_end_year: Only count indicators whose data extends through this year (i.e. timeLine_max >= year). updated_since: ISO date string (e.g. "2024-01-01"). Only count indicators updated on or after this date.
Returns: A dictionary with: - "count": The exact number of indicators matching all provided filters. - "filters_applied": A summary of which filters were used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | ||
| disaggregation_types | No | ||
| disaggregation_values | No | ||
| coverage_start_year | No | ||
| coverage_end_year | No | ||
| updated_since | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||