After a lot of trial and error.
I added it at the end of code.
Disabled the category counts and now its as required.
Just that now i want to change the colour of the category texts.

Thanks a tonne all for helping.

Chetan