gb railfreight
for gb railfreight , for ones that were introduced before 2000 , there were 2 times that the fleet size was 2 .
{'scope': 'subset', 'criterion': 'equal', 'value': '2', 'result': '2', 'col': '4', 'subset': {'col': '3', 'criterion': 'less_than', 'value': '2000'}}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_eq', 'args': [{'func': 'filter_less', 'args': ['all_rows', 'introduced', '2000'], 'result': None, 'ind': 0, 'tostr': 'filter_less { all_rows ; introduced ; 2000 }', 'tointer': 'select the rows whose introduced record is less than 2000 .'}, 'fleet size', '2'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose introduced record is less than 2000 . among these rows , select the rows whose fleet size record is equal to 2 .', 'tostr': 'filter_eq { filter_less { all_rows ; introduced ; 2000 } ; fleet size ; 2 }'}], 'result': '2', 'ind': 2, 'tostr': 'count { filter_eq { filter_less { all_rows ; introduced ; 2000 } ; fleet size ; 2 } }', 'tointer': 'select the rows whose introduced record is less than 2000 . among these rows , select the rows whose fleet size record is equal to 2 . the number of such rows is 2 .'}, '2'], 'result': True, 'ind': 3, 'tostr': 'eq { count { filter_eq { filter_less { all_rows ; introduced ; 2000 } ; fleet size ; 2 } } ; 2 } = true', 'tointer': 'select the rows whose introduced record is less than 2000 . among these rows , select the rows whose fleet size record is equal to 2 . the number of such rows is 2 .'}
eq { count { filter_eq { filter_less { all_rows ; introduced ; 2000 } ; fleet size ; 2 } } ; 2 } = true
select the rows whose introduced record is less than 2000 . among these rows , select the rows whose fleet size record is equal to 2 . the number of such rows is 2 .
{'eq_3': 'eq', 'result_4': 'true', 'count_2': 'count', 'filter_eq_1': 'filter_eq', 'filter_less_0': 'filter_less', 'all_rows_5': 'all_rows', 'introduced_6': 'introduced', '2000_7': '2000', 'fleet size_8': 'fleet size', '2_9': '2', '2_10': '2'}
['class', 'type', 'introduced', 'fleet size', 'numbers']
[['class 08', 'shunter', '1953', '2', '08925 , 08934'], ['class 09', 'shunter', '1959', '2', '09002 , 09009'], ['class 20', 'diesel locomotive', '1957 - 1968', '9', '20096 , 107 , 142 , 189 , 227 311 , 314 , 901 , 905'], ['class 66', 'diesel locomotive', '2002', '48', '66701 - 733 , 735 - 751'], ['class 73', 'electro - diesel locomotive', '1966', '10', '73119 , 141 , 204 - 209 , 212 - 213'], ['class 92', 'electric locomotive', '1993', '7', '92020 , 021 , 032 , 040 , 044 - 046'], ['vanguard 0 - 6 - 0dh', 'diesel locomotive', '2011', '2', 'dh50 - 1 , dh50 - 2']]