Your status decides whether your years count. It is shown in your passport stamp or on the letter granting it.