It's not possible to find the exact number of roots for a continuous function without having a specific domain in mind. For example, in this case, the function f(x) = sin(x) + x^2 has infinitely many roots in the interval (-∞, +∞), as both sin(x) and x^2 have infinitely many roots. However, finding the exact number of roots in a specific interval is a difficult problem, and there is no general formula to find all roots of a continuous function.