Examaple of cumulative counting using updateStateByKey