Task: Text to Code
Input (English): select the rows whose age at appointment record is equal to 50 . the number of such rows is 4 .
Output (English): eq { count { filter_eq { all_rows ; age at appointment ; 50 } } ; 4 }