Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
How many terms began when the term ended in January 3, 1989?

### Inputs:
table_name: table, columns: ['Office', 'Branch', 'Location', 'Elected', 'Term began', 'Term ended']

### Response:
SELECT COUNT Term began FROM table WHERE Term ended = January 3, 1989