Added Counter in random Walk