Deductions & credits

In the formula to get earnings on excess contribution, it shows that any distributions or transfers need to be added to the closing balance to calculate the adjusted closing balance. Does anyone know if account fees such as monthly fees or account transfer fees will count as distribution in such a scenario (this wasn't reported as a distribution on 1099-SA but wanted to check if we should treat it as distribution for calculating investment profit).