Table: sampras_stats
Columns: year
majors
atp_wins
total_wins
earnings
money_list_rank

Question: How many years had a total earnings amount of 2254598?
SQL: SELECT COUNT("year") FROM sampras_stats WHERE "earnings" = 2254598

Question: What is the latest year that data is available for?
SQL: SELECT MAX("year") FROM sampras_stats