I would presume that someone's 'third language' is the third language that he learned. However, according to Wikipedia, you are right that someone's second language is any language they learned after their first, not just the second language they learned.