Data order

I really want to insert a column to display ORDER and I will know how many rows/datas in my table.
When I search something, I also want to know how many rows macth with the condition.
How could I do it. Please help!
Regards,