numberOfDuplicates property

int numberOfDuplicates

Implementation

int get numberOfDuplicates => length - {...this}.length;