Q:

How can you use the values you get from the Counter class in python?

for example ...
x=[1,1,2,1,5,2,1,3]

and then when i 'Counter' it
i get
Counter({1: 4, 2: 2, 3: 1, 5: 1})

can I reuse the second numbers? So let's say I want to print one out 4 time because I have 4 ones in the Counter.

A:

Yes, you can treat the Counter object as a dictionary:
>>> from collections import Counter
>>> x=[1,1,2,1,5,2,1,3]
>>> c = Counter(x)
Counter({1: 4, 2: 2, 3: 1, 5: 1})
>>> number_of_ones = c[1]  # returns 4
>>> number_of_twos = c[2]  # returns 2

