ita; problem 5.1 - probabilistic counting