On the Capital Gains Report - on each TOTAL LINE include the total shares.
in most cases, the report would be showing capital gains developed from the sale of several different securities. In such cases, the total number of shares is meaningless. Perhaps if the report is subtotaled by security, that total could be presented.