How many budgets are above 3000 in year 2001 or before?
select count(*) from budget where budgeted > 3000 and year <= 2001