Variant frequency extraction for XX and XY

Hello,

Would it be possible to add to the export table (export variants to cvs) information about allele frequencies in XX and XY for each population?
Or can you recommend another way to extract those data for the whole gene sequence?

Thanks!