Counting Cards is not actually considered a criminal offense however it is left up to the casino to decide whether to ban you, and they often will, they will also make it seem a much greater offense than it is to scare potential card counters away.