updated orders view to include unique counts of ids in match set