Try CSS counter.