Whats the question ? Are you trying to figure out how much he has left ?
Each person shakes 7 hands, but once you count the handshake between A and B, you don't need to count the handshake between B and A. There are a total of 8*7/2 = 28 handshakes.
Your answer is B. Hope this helps! Good Luck and God Bless