Task: Text to Code
Input (English): SQL: SELECT Count ( DISTINCT Budget_Type_Code ) FROM Documents_with_Expenses
Feedback: Replace documents with expenses table with reference budget codes .
Output (English): SELECT count(*) FROM Ref_budget_codes