Can you count the number of squares in the figure below

count the number of squares

40