I would say only 5 based on a squares definition being "4 Sides of equal length" as the whole "thing" is a square, the yellow bottom right, then to the top left of it another one, to the top right of that a green one, then parallel to the left is orange, then top left of that a yellow one.