It is type check (`int`) and serialization (`unicode`). In this implementation of `Counter`, data has to be integer only and then they are serialized for Redis just by calling `unicode`. Maybe it involves some redundancy, but it is improving readability and consistency. I agree coercing to `int` is stupid "validation", but it did the job quite well so far.