An applicant spent six years in Europe but in 2021 they spent one year in a third country. Is the long-term residence counted from the deadline of the call?

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.