Count the number of budgets in year 2001 or before whose budgeted amount is greater than 3000
return budgets ;return year of  #1 ;return budgeted amounts of  #1 ;return #1 where  #2 is  2001 or  before ;return #4 where  #3 is  greater than  3000 ;return the number of #5
['select', 'project', 'project', 'comparative', 'comparative', 'aggregate']