First implementation of scoring duplicates.