What is the number of sides of a regular polygon whose each exterior angle is 45?