Write the number of two positive square roots equal to itself

Write the number of two positive square roots equal to itself

x*x=x
x*x-x=x(x-1)=0
One is 0 and one is 1