Task: Text to Code
Input (English): select the rows whose first elected record is equal to 1944 . the number of such rows is 2 .
Output (English): eq { count { filter_eq { all_rows ; first elected ; 1944 } } ; 2 }