york county , new brunswick
in york county , new brunswick , 4 of those with area km 2 more than 500 has population more than 1000 .
{'scope': 'subset', 'criterion': 'greater_than', 'value': '1000', 'result': '4', 'col': '4', 'subset': {'col': '3', 'criterion': 'greater_than', 'value': '500'}}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_greater', 'args': [{'func': 'filter_greater', 'args': ['all_rows', 'area km 2', '500'], 'result': None, 'ind': 0, 'tostr': 'filter_greater { all_rows ; area km 2 ; 500 }', 'tointer': 'select the rows whose area km 2 record is greater than 500 .'}, 'population', '1000'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose area km 2 record is greater than 500 . among these rows , select the rows whose population record is greater than 1000 .', 'tostr': 'filter_greater { filter_greater { all_rows ; area km 2 ; 500 } ; population ; 1000 }'}], 'result': '4', 'ind': 2, 'tostr': 'count { filter_greater { filter_greater { all_rows ; area km 2 ; 500 } ; population ; 1000 } }', 'tointer': 'select the rows whose area km 2 record is greater than 500 . among these rows , select the rows whose population record is greater than 1000 . the number of such rows is 4 .'}, '4'], 'result': True, 'ind': 3, 'tostr': 'eq { count { filter_greater { filter_greater { all_rows ; area km 2 ; 500 } ; population ; 1000 } } ; 4 } = true', 'tointer': 'select the rows whose area km 2 record is greater than 500 . among these rows , select the rows whose population record is greater than 1000 . the number of such rows is 4 .'}
eq { count { filter_greater { filter_greater { all_rows ; area km 2 ; 500 } ; population ; 1000 } } ; 4 } = true
select the rows whose area km 2 record is greater than 500 . among these rows , select the rows whose population record is greater than 1000 . the number of such rows is 4 .
{'eq_3': 'eq', 'result_4': 'true', 'count_2': 'count', 'filter_greater_1': 'filter_greater', 'filter_greater_0': 'filter_greater', 'all_rows_5': 'all_rows', 'area km 2_6': 'area km 2', '500_7': '500', 'population_8': 'population', '1000_9': '1000', '4_10': '4'}
['official name', 'status', 'area km 2', 'population', 'census ranking']
[['kingsclear', 'parish', '303.26', '6689', '545 of 5008'], ['douglas', 'parish', '1446.50', '5774', '609 of 5008'], ['saint marys', 'parish', '753.06', '4224', '767 of 5008'], ['bright', 'parish', '404.00', '3159', '958 of 5008'], ['new maryland', 'parish', '375.40', '2348', '1193 of 5008'], ['manners sutton', 'parish', '525.47', '1863', '1394 of 5008'], ['stanley', 'parish', '2040.21', '1817', '1408 of 5008'], ['southampton', 'parish', '450.05', '1601', '1535 of 5008'], ['queensbury', 'parish', '301.22', '1215', '1811 of 5008'], ['prince william', 'parish', '287.92', '879', '2234 of 5008'], ['canterbury', 'parish', '557.22', '555', '2875 of 5008'], ['dumfries', 'parish', '305.23', '369', '3418 of 5008'], ['north lake', 'parish', '440.72', '300', '3678 of 5008'], ['mcadam', 'parish', '537.62', '80', '4512 of 5008']]