public function sumDuplicateQueries($modelData)
    {
        $numDuplicates = 0;
        $duplicates = ArrayHelper::getColumn($modelData, 'duplicate');
        foreach ($duplicates as $duplicate) {
            if ($duplicate > 1) {
                $numDuplicates++;
            }
        }

        return $numDuplicates;
    }
public function sumDuplicateQueries($modelData)
    {
        $numDuplicates = 0;
        $duplicates = ArrayHelper::getColumn($modelData, 'duplicate');
        foreach ($duplicates as $duplicate) {
            if ($duplicate > 1) {
                $numDuplicates++;
            }
        }

        return $numDuplicates;
    }
public function sumDuplicateQueries ( $ modelData ) { $ numDuplicates = 0 ; $ duplicates = ArrayHelper :: getColumn ( $ modelData , 'duplicate' ) ; foreach ( $ duplicates as $ duplicate ) { if ( $ duplicate > 1 ) { $ numDuplicates ++ ; } } return $ numDuplicates ; }
Returns sum of all duplicated queries

@param $modelData
@return int
@since 2.0.13
Returns sum of all duplicated queries