Add count_field1_by_field2 operator.