Introduction
SCARD helps you find out how many unique items are in a set. It tells you the size of the set quickly.
You want to count how many friends are in your friend list stored as a set.
You need to know how many unique visitors came to your website today.
You want to check how many different tags are assigned to a blog post.
You want to find out how many unique products a customer has bought.