Task: Text to Code
Input (English): select the rows whose socialist labor ticket record fuzzily matches to ( none ) . the number of such rows is 2 .
Output (English): eq { count { filter_eq { all_rows ; socialist labor ticket ; ( none ) } } ; 2 }