Task: Text to Code
Input (English): select the rows whose frequency record is less than 1000 . the number of such rows is 3 .
Output (English): eq { count { filter_less { all_rows ; frequency ; 1000 } } ; 3 }