@aman,
The total of little triangles is b^2 or 16.
The number of bigger triangles (containing 4 little ones) is 7.
The number of still bigger triangles (containing 9 little ones) is 3.
The number of largest triangles contains all 16 is 1.
16+7+3+1 = 27 triangles