add source group by property

this resets the counts for target mappings, which allows for the
indexes generated to be correct