How do you find number of handshakes at a party?

try it out in real life, or draw it out. Basically if you have 5 people at the party and every one shakes hands (if this is what you mean) you could do this: draw 5 dots in a circle, and draw a line between every single dot, count the lines and voila you have your answer