presto-main/src/main/java/io/prestosql/operator/NoChannelGroupByHash.java/NoChannelGroupByHash/updateGroupCount
class NoChannelGroupByHash:    private void updateGroupCount(Page page)
    {
        if (page.getPositionCount() > 0 && groupCount == 0) {
            groupCount = 1;
        }
    }