After China, India ranks second in foreign students in US