FlashcardVideo 10 - Counting rectangles in a grid