Cardinality Estimation in Inner Product Space