An architect is designing a garden gazebo in the shape of a regular polygon.
Given that each exterior angle of the gazebo is 40∘40^\circ40∘, calculate the number of sides of the gazebo.