64 @ 1 x 1, 49 @ 2 x 2, 36 @ 3 x 3, 25 @ 4 x 4, 16 @ 5 x 5, 9 @ 6 x 6, 4 @ 7 x 7 and 1 @ 8 x 8 Total 204
An 8 by 8 grid would have 64 squares(multiply 8 times 8 to get the square).
64, in a 8*8 grid.
In a 2 by 3 grid, you can count the squares of different sizes. There are 6 individual 1x1 squares, and 2 larger 2x2 squares, which can fit in the grid. Therefore, the total number of squares is 6 (1x1) + 2 (2x2) = 8 squares.
It is not possible to answer in terms of a grid that cannot be seen, but a normal grid of 2 squares x 2 squares will have 5 squares.
There are 4 squares in a 2 x 2 grid.