implement card counters