added resource count when retrieving budgets