The Brainliest Answer!
There are quite a few! This is an interesting problem. Let's tackle 
the one about the squares first. There is only ONE 8x8 square. There 
are FOUR 7x7 squares. There are NINE 6x6 squares, and so on. You can 
see this by taking a square (say 6 by 6) and seeing how many squares 
you can move it horizontally and how many vertically and multiplying 
these two numbers together). If you see the pattern above, the answer 
to the question as to how many squares there are is 

1^2 + 2^2 + 3^2 + 4^2 + 5^2 + 6^2 + 7^2 + 8^2 = 204 
2 5 2
Its actually 441
My mistake it's 1296, sorry
Like I said I it is a question on combinations
If you know about combinatorics may be I can tell you how.