Fixes the merge request navigation bar count being incorrect

What does this MR do and why?

Updates the queries used for the count in the navigation bar to match the queries used to display the count on the merge request dashboard.

References

Screenshots or screen recordings

How to set up and validate locally

MR acceptance checklist

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

Merge request reports

Loading