Index is change after search with colintreelist view

Did you try by this method to get proper index number ?

If this method not works mean post your blocks we will suggest you what you need to do