Each person shakes hands with everyone except their spouse,
so each person shakes hands with $5-1=4$ other people.
There are 10 people in total, so if each person shakes hands with 4 others, there will be a total of $10 \times 4 = \boxed{40}$ handshakes.
The answer is: 40
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
At a party, there are five couples. If each person shakes hands exactly once with everyone else except their spouse, how many handshakes occur in total? (Note: One obviously doesn't shake hands with oneself.)

### Answer:
