Count the Rectangles

EasyGeometry PuzzlesCombinatorics PuzzlesLogic Puzzles

In the figure below, there are 5 squares connected in a row, forming a larger rectangle. How many rectangles are there in total in this figure?

The challenge

Your Answer: