In a certain regular polygon, the measure of each interior angle is $2$ times the measure of each exterior angle. Find the number of sides in this regular polygon.