When I rebase a branch and push that branch to bitbucket (using push -f) the number of commits that the Jira shows increments by the total number of commits in the branch. For example assume you have 50 commits, you rebase the branch, then push the newly rebased branch to bitbucket, the number of commits associated with the Jira now shows 100.
This is an example ...

The 3 branches have a total of around 100 commits.
It seems like the commits that have gone away as a result of the rebase are still in a cache somewhere and are contributing to the total number.
Is there a way of asking Jira to recalculate the number of commits based on the active commits, i.e. those that are actually live in branches?