coccurence and occurence counter