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, the 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, wherein the updating comprises: inserting the matched tuple into a delete vector; marking the matched tuple in the delete vector as removed from the target location, without physically removing the matched tuple from the target location; inserting the updated matched tuple into the target location; and for each tuple that does not have a matched tuple that satisfies the predetermined condition, inserting the unmatched tuple into the target location; associating a first indicator with the matched tuple in the target location, the first indicator indicating that the matched tuple in the target location is an existing tuple; and associating a second indicator with the unmatched tuple inserted into the target location, the second indicator indicating that the unmatched tuple is new in the target location.