Task: Text to Code
Input (English): Step 1: For each row in county table, find the corresponding rows in election table.
Step 2: find the number of different Committee in the results of step 1 whose Population greater than 50000
Output (English): SELECT Count ( DISTINCT T2.Committee ) FROM county AS T1 JOIN election AS T2 ON T1.County_Id = T2.District WHERE T1.Population > 50000