history awk grep sort

can someone help me in the awk part...little confuse on that part.

The problem is this: what input each utility gets and what it does with data and what output is provides to the next utility)

history | awk '{a[$3]++}END{for(i in a){print a " " i}}' | sort -rn | grep '^[0-9][0-9]'

Thanks

What you are trying to achieve ? and what is wrong ?

what input each utility gets and what it does with data and what output is provides to the next utility)

Can you show the result of the history command too?

anyone????