What is the cardinality of a set that has no values?

If a set has no real values. and the conditionality accepts only real values. For example, set S is the set of roots of a function f(x). But the equation f(x) has no real roots. What then will be the cardinality of f(x)?