I'm trying to do a Blackjack game but I don't know how to change the value of "ACE" to 1 if 11 is too high. I'm now trying to search a Arraylist for A's to change the value of one ore more of them. But how can I see how much A's are in my Arraylist?
      while (getPointsPC() < 17 || getPointsPC() < getPointsPL()){
            int acees = 0;
            random = bj.getRandom();
            CardsPC.add(bj.getCard(random));
            setPointsPC(random);
            lblPointsPC.setText("Points Dealer: " + Integer.toString(getPointsPC()));
            String text = CardsPC.get(0);
            for(int i = 1; i < CardsPC.size(); i++){
                text = text + ", " + CardsPC.get(i);
            }
            if (CardsPC.contains("A") && getPointsPC() > 21 && acees < CardsPC.**HOW_MUCH_A's???**){
                setPointsPC(13);
                acees++;
            }
            lblCardsPC.setText(text);
        }
