user: ### NOW ANSWER:
Question: How many terms began when the term ended in January 3, 1989?
Columns: ['Office', 'Branch', 'Location', 'Elected', 'Term began', 'Term ended']
Types: ['text', 'text', 'text', 'real', 'text', 'text']
Sample row: ['Representative', 'Legislative', 'Washington, D.C.', 1982.0, 'January 3, 1983', 'January 3, 1985']
SQL:

assistant: SELECT COUNT("Term began") FROM "Table" WHERE "Term ended" = 'January 3, 1989';