Per-flow cardinality estimation based on virtual LogLog sketching