user: ### NOW ANSWER:
Question: How many Sri Lankans were admitted in 2004 when more than 594 Nepalis were admitted?
Columns: ['Year', 'Indians admitted', 'Pakistanis admitted', 'Sri Lankans admitted', 'Bangladeshis admitted', 'Nepalis admitted']
Types: ['text', 'real', 'real', 'real', 'real', 'real']
Sample row: ['2000', 26122.0, 14201.0, 5849.0, 2715.0, 247.0]
SQL:

assistant: SELECT SUM("Sri Lankans admitted") FROM "Table" WHERE "Year" = '2004' AND "Nepalis admitted" > 594.0;