add collections.Counter and .deque