The sum of exterior angles of a polygon is one-third of the sum of interior angles. Find the number of sides in the polygon.