With the latest version of Gitea, let's say there are 0 PRs and 0 issues. We create an issue, and now there is one issue, however when we create a PR, it is labelled as #2, even though there is no first PR.
What I want to say is that the counters are shared across PRs and issues