Sub CompteItems()
Dim tabtube(8, 0)
For i = 1 To 8
tabtube(i - 1, 0) = Cells(i + 1, 1)
Next i
Range("B2", "B10") = tabtube
Set mondico = CreateObject("Scripting.Dictionary")
For Each c LBound(tabtube, 2) To UBound(tabtube, 2)
mondico(c.Value) = mondico(c.Value) + 1
Next c
[C2].Resize(mondico.Count, 1) = Application.Transpose(mondico.keys)
[d2].Resize(mondico.Count, 1) = Application.Transpose(mondico.items)
[C1].Sort Key1:=[C2], Order1:=xlAscending, Header:=xlYes
End Sub