Count shapes in the pattern

Count shapes in the pattern