added class method for number of cards to match