<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def counter(items):
 """ Simplest required implementation of collections.Counter. Required as 2.6 does not have Counter in collections. """

    results = {}
    for item in items:
        results[item] = results.get(item, 0) + 1
    return results