counting

using collections.Counter

how do i iterate the counter, its strange. having difficulties with
assigning rank and retaining the sorted literals. going for manual
manual counting

using previous, current, count & a list
ranks