The size of each exterior angle in a regular polygon is 30∘30^\circ30∘. Work out how many sides the polygon has.