1. A method for merging data from a source location into a target location containing existing data, wherein both the source location and the target location contain tuples of data, said method comprising: for each tuple in the source location, during a single operation, determining, by a processor, whether there is a matched tuple in the target location that satisfies a predetermined condition; for each matched tuple that satisfies the predetermined condition, updating the matched tuple in the target location with a count value that is equal to a count of the matched tuple in the source location and the target location; and for each tuple that does not have a matched tuple that satisfies the is predetermined condition, inserting the unmatched tuple into the target location.