If S(n)=in+i−n, where i=√−1 and n is a positive integer, then the total number of distinct values of S(n) is: