user: ### NOW ANSWER:
Question: Which Took Office has a Party of democratic, a Home Town of victoria, and a District smaller than 18?
Columns: ['Senator', 'Party', 'District', 'Home Town', 'Took Office']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Bill Ratliff', 'Republican', 1.0, 'Mount Pleasant', 1989.0]
SQL:

assistant: SELECT COUNT("Took Office") FROM "Table" WHERE "Party" = 'democratic' AND "Home Town" = 'victoria' AND "District" < 18.0;