In the figure given, a rectangle, a triangle and circle overlap, and the different regions formed are numbered 1 to 7. For example, region 1 is in the rectangle, but not in the circle or the triangle. How many regions are there in exactly two shapes?