Change merged row counts from int to long