Issues count in the left navigation bar does not match the count on top of the issue list

Summary

I came across a project where Issues count in the left navigation bar does not match the count on top of the issue list

Steps to reproduce

Go to this link https://gitlab.com/gitlab-org/growthproject/-/issues. Please see the screenshot

Screenshot_2024-05-06_at_10.43.47_PM

What is the current bug behavior?

The counts in different places of the page do not match

What is the expected correct behavior?

They should match

Relevant logs and/or screenshots

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes