If z=x+iy(x,y∈R,x≠−12), the number of values of z satisfying |z|n=z2|z|n−2+z|z|n−2+1, where (n∈N,n>1) is