Count years of marriage living together, and years in Switzerland on any residence permit, before or after the wedding.