A regular polygon has an interior angle of 120 degrees. How many sides does it have?