>counting cards is legal in Atlantic City, but if they suspect you of it they'll shuffle every hand or not let you change the size of your bet.
The fact that there's something to "suspect you of" is the whole problem. Doing the same (counting cards) in poker is explicitly encouraged, and the ability to know what cards remain in the deck is highly prized.
Blackjack is just not a very well-designed game.