As you note, operating expense per average number of employees decreased in the third quarter compared to the prior quarter, excluding depreciation and amortization, costs associated with the reduction and shift of our China operations, and M&A-related expenses and earn-outs. The primary drivers of this change included a decrease in bonus expense versus the prior quarter (due to stronger performance relative to targets in the prior quarter), increased headcount in India, lower professional fees (after adjusting for M&A and costs associated with the shift of our China operations), and the impact of foreign currency on operating expenses incurred outside the United States. The increase in headcount in India was due in part to the initiation of the reduction and shift of our China operations. It also reflected ongoing hiring to support data collection and analysis for Morningstar Sustainalytics, PitchBook, and equity data. Professional fees in the second quarter included costs associated with the completed independent investigation regarding certain Morningstar Sustainalytics research practices.
In the second quarter, operating expense per average number of employees, excluding depreciation and amortization and M&A-related expenses and earn-outs, was close to flat relative to the previous quarter.