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