The CASA 'tool' returns a dictionary containing total number of data points, and number of points flagged. These counts are keyed on channel, baseline, field, etc, and can be parsed and displayed in many ways.
For example, Information about the % flagged per SPW can be used to assess available bandwidth for imaging...