Added card counter in study mode