Probabilistic Counting Algorithms for Data Base Applications