If a person leaves the EU for 12 months or longer, they lose the status of the long-term resident and the count starts from scratch. So if the period spent in the third country was 12 months or more, they are no longer considered long-term residents.
Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the Research Executive Agency (REA). Neither the European Union nor the REA can be held responsible for them.