A square has 4 right angles. Two perpendicular lines meet to create each one.

One pair of lines in a square is perpendicular to the other pair of lines. I don't know how you might like to count them.

One pair of lines in a square is perpendicular to the other pair of lines. I don't know how you might like to count them.