Use HCAT to calculate cardinality
Use HCat to calculate cardinality