If you truly mean deleted issues then they are gone and not part of the issue count. Delete means delete in Jira and there is not record of the deleted issues. Recommend you don't delete issues. Atlassian has provided project level and issue level archiving in Jira 8.4 I think is the release with the issue level.
If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events