Only time spent in Portugal after getting your first residency card counts. Therefore, the first biometrics visit is not included in the 14 days you need to spend in Portugal during the first 2 years. However, the time spent in Portugal during the second biometrics visit for the renewal of your residency card counts towards the 14 days required for the first 2 years.