Let x be a real number in the closed interval [0,2π], measured in radians. Consider the equation tanx+secx=2cosx. Both tanx and secx must be defined at any solution, so every root you find must be checked against the domain of the original equation. Find the number of values of x in [0,2π] that satisfy the equation. The answer is an integer, so give the exact count with no rounding.