Check number of pairs in a card hand