Each of the ten shakes nine hands, which makes 90, but that counts every handshake twice, so it’s 45. Or count them off: the first person shakes 9 hands, the next 8 new ones, and so on down to 1.