How To Calculate Cardinality Of A Set