it all depends on what you are trying to do. In some cases you can mimic a running total with a formula and a summary function to get a value for a header and sometimes not. Usually depends on duplication of data.
Use gender counts for example.
If the list is unduplicated then you can use 2 formulas for the
if -male-then 1 else 0 and do a sum and be fine.
if there are duplicate rows you are out of luck.
You could use a crosstab though.