Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_54791 ( "Player" text, "Total Win-Loss" text, "Singles Win-Loss" text, "Doubles Win-Loss" text, "No. of ties" real, "First year played" real, "Years Played" real )

### Question ###
How many years did the team that has a Singles win-Loss of 4-9 and first played before 1999?

### Accurate SQL ###

SELECT SUM("Years Played") FROM table_54791 WHERE "Singles Win-Loss" = '4-9' AND "First year played" < '1999'