Hi Eric,
Something like this should work:
WhilePrintingRecords;
numbervar final_count;
If DistinctCount({Measure_field}, {Group_Field}) > 1 then
final_count := final_count + 1;
Place this formula on the Group Header or Footer and suppress it.
Then, create a formula to display the total count and place this on the Report Footer:
WhilePrintingRecords;
numbervar final_count;
-Abhilash