Let $f(x)= \sqrt{ax^2+bx}$. Find the number of real values of $a$ for which there is at least one positive value of $b$ such that the domain of $f$ and the range of $f$ are the same set.

Let's think step by step and output the final answer within \boxed{}.
user