refactor other methods with count_cards method