Added card counting