Iteration 1 with counter for same class items