question: Count the number of budgets in year 2001 or before whose budgeted amount is greater than 3000
#1 return budgets 
#2 return year of  #1 
#3 return budgeted amounts of  #1 
#4 return #1 where  #2 is  2001 or  before 
#5 return #4 where  #3 is  greater than  3000 
#6 return the number of #5