There are 30 squares.
16 sized 1x1
9 sized 2x2
4 sized 3x3
1 sized 4x4