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