python write a function that counts the number of times a given int occurs in a linked list code example
Example: how to find the number of times a number appears in python
dict((i, a.count(i)) for i in a)
dict((i, a.count(i)) for i in a)