Remove PositionInputStream, count the position in iterator.