Task: Question Answering
Input (English): Passage: It was not until 23 May 1694 that the duke officially annulled the 1686 edits of persecution with the Edict of Reintegration, allowing the Waldensians to live undisturbed in their old places of residence. This was not to last long, however. On 29 June 1696, Savoy concluded a separate peace with France, under the conditions that the Val Perouse would become Savoyard territory again but no Protestants were allowed to live in it, and all Reformed Christians born in France would be expelled from the Duchy of Savoy-Piedmont. Two years later, on 1 July 1698, Victor Amadeus did issue an edict that had all French-born Protestants expelled from Savoy-Piedmont, which forced about 3,000 of them to leave the Waldensian valleys over the next two months. 
Question: How many years passed during which the Waldensians were allowed to live in Savoy? 
Answer type: Number 
Output (English): 4.