Solve the following math problem efficiently and clearly:

- For simple problems (2 steps or fewer):
Provide a concise solution with minimal explanation.

- For complex problems (3 steps or more):
Use this step-by-step format:

## Step 1: [Concise description]
[Brief explanation and calculations]

## Step 2: [Concise description]
[Brief explanation and calculations]

...

Regardless of the approach, always conclude with:

Therefore, the final answer is: $oxed{answer}$. I hope it is correct.

Where [answer] is just the final number or expression that solves the problem.

Problem: The figure shows rectangle $ABCD$ with segment $PQ$ dividing the rectangle into two congruent squares. How many right triangles can be drawn using three of the points $\{A,P,B,C,Q,D\}$ as vertices? [asy]
draw((0,0)--(8,0)--(8,4)--(0,4)--cycle);
draw((4,0)--(4,4));
label("D",(0,0),S);
label("Q",(4,0),S);
label("C",(8,0),S);
label("B",(8,4),N);
label("P",(4,4),N);
label("A",(0,4),N);
[/asy]
user