user: Question: How many years had a total earnings amount of 2254598?
Columns: ['Year', 'Majors', 'ATP wins', 'Total wins', 'Earnings ($)', 'Money list rank']
Types: ['real', 'real', 'real', 'real', 'real', 'real']
Sample row: [1997.0, 2.0, 6.0, 8.0, 6498311.0, 1.0]
SQL:

assistant: SELECT COUNT("Year") FROM "Table" WHERE "Earnings ($)" = 2254598.0;