list of top 10 singles in 2010 ( scotland )
4 of the singles in the top 10 singles in 2010 peaked at number 1 .
{'scope': 'all', 'criterion': 'equal', 'value': '1', 'result': '4', 'col': '4', 'subset': None}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_eq', 'args': ['all_rows', 'peak', '1'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose peak record is equal to 1 .', 'tostr': 'filter_eq { all_rows ; peak ; 1 }'}], 'result': '4', 'ind': 1, 'tostr': 'count { filter_eq { all_rows ; peak ; 1 } }', 'tointer': 'select the rows whose peak record is equal to 1 . the number of such rows is 4 .'}, '4'], 'result': True, 'ind': 2, 'tostr': 'eq { count { filter_eq { all_rows ; peak ; 1 } } ; 4 } = true', 'tointer': 'select the rows whose peak record is equal to 1 . the number of such rows is 4 .'}
eq { count { filter_eq { all_rows ; peak ; 1 } } ; 4 } = true
select the rows whose peak record is equal to 1 . the number of such rows is 4 .
{'eq_2': 'eq', 'result_3': 'true', 'count_1': 'count', 'filter_eq_0': 'filter_eq', 'all_rows_4': 'all_rows', 'peak_5': 'peak', '1_6': '1', '4_7': '4'}
['entry date', 'single', 'artist', 'peak', 'peak reached', 'weeks in top 10']
[['31 october', 'meet me halfway', 'the black eyed peas', '1', '21 november', '11'], ['7 november', 'bad romance', 'lady gaga', '1', '19 december', '12'], ['5 december', 'the official bbc children in need medley', 'peter kay', '1', '5 december', '5'], ['5 december', 'russian roulette', 'rihanna', '3', '12 december', '6'], ['26 december', 'the climb', 'joe mcelderry', '1', '26 december', '2'], ['26 december', 'killing in the name', 'rage against the machine', '2', '26 december', '2']]