presto-main/src/main/java/io/prestosql/operator/window/NTileFunction.java/NTileFunction/reset
class NTileFunction:    @Override
    public void reset()
    {
        rowCount = windowIndex.size();
    }