Count the number of budgets in year 2001 or before whose budgeted amount is greater than 3000
select count(*) from budget where budgeted > 3000 and year <= 2001