You can absolutely count cards when playing online blackjack. A few employ software that shuffles the cards after each deal, so it's a little more difficult. Programs that count cards for you are available, but their use is typically prohibited.