Update merge request overview tab changes count to use merge head

What does this MR do and why?

Updates the count on the changes tab to use the the merge head diff instead of the full diff. This can fix issues where the tab changes number after the user clicks on it.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screen_Recording_2024-08-08_at_11.17.56 Screen_Recording_2024-08-08_at_11.20.14

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports

Loading