Can you count correctly how many triangles there are?

A network of 20 x 10 squares is given to you.

Can you calculate how many unique squares and rectangles can be formed combining two or more individual squares ?

How many squares are there in this picture?