Multiparty Private Set Intersection Cardinality and Its Applications