Task: Text to Code
Input (English): Count the number of different affected regions.
Output (English): SELECT count(DISTINCT region_id) FROM affected_region