Keep in mind squars are also rectangles. There are 7 squares.
rectangles composed of 2 squares: 8
rectangles composed of 3 squares: 2
rectangles composed of 4 squares(forms a larger square): 2
So in total I believe there are 7+8+2+2=15+4=19 rectangles.