Half the number of stars on the US flag is 50/2=<<50/2=25>>25
Three less than half the number of stars on the US flag is 25-3=<<25-3=22>>22 circles.
Twice the number of stripes on the US flag is 13*2=<<13*2=26>>26.
Six more than twice the number of stripes on the US flag is 26+6=32 squares.
In total, Pete's flag has 22+32=<<22+32=54>>54 circles and squares.
#### 54