radix sort: inlined counting sort

Now it reuses count and buffer array