how many rectangles (including squares) be found in the following diagram? you must explain why your calculations are actually counting the possible rectangles or squares in this diagram. Its a 4x8 grid...i did not know how to draw it w/o attaching it. i think it is an nCr problem, I'm just not quite sure

Code:

:------------------------------------------:
: : : : : : : : :
:------------------------------------------:
: : : : : : : : :
:------------------------------------------:
: : : : : : : : :
:------------------------------------------:
: : : : : : : : :
:------------------------------------------: