Solve the condition first, then keep only values from the stated number system. ∅ has 0 elements; {0} and {∅} each have 1.
Read where x comes from before you list anything. Watch strict and non-strict inequalities at both ends, and check the boundary value by substitution. Test any set-builder rule on its first and last element. Count distinct elements only. {0} and {∅} are singletons, never the empty set.