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

### Instruction:
How many different Leagues had average attendance of 3589?

### Inputs:
table_name: table, columns: ['Year', 'Division', 'League', 'Regular Season', 'Playoffs', 'Open Cup', 'Avg. Attendance']

### Response:
SELECT COUNT League FROM table WHERE Avg. Attendance = 3589