Exporting datagrid columns with ambiguous names

I have a datagrid in which I have one column with the property "ExpenseRecords.Count" and another with the property "MileageRecords.Count". When I try and export these columns I'm hitting an error because there is ambiguity between the names for these two columns (they both get exported as 'Count'). Is it possible to somehow rename columns so that they don't clash when you export?

You can use alias with $select parameter:
Count,Count as SomeOtherName,OtherProp

That's helpful, thank you.