Table schema:
CREATE TABLE table_22834834_12 (year VARCHAR, earnings__$_ VARCHAR)

Question: How many years had a total earnings amount of 2254598?
SQL: SELECT COUNT(year) FROM table_22834834_12 WHERE earnings__$_ = 2254598