Counting the Number of Squares

How many squares are there in a chessboard?