Import from BitBucket: commit count not updated

Summary

When a repository is imported from Bitbucket, "0 commits" is displayed. The commits are there (the link to commits works), but the total number of commits is not set correctly.

Steps to reproduce

Import a single repository with existing commits from Bitbucket Using New Project > Import Project > Bitbucket Cloud.

Example Project

https://gitlab.com/strazdinsg/gitlab-import-bug

What is the current bug behavior?

"0 Commits" displayed in repository summary (text between licence and "1 Branch")

What is the expected correct behavior?

"4 Commits" should be displayed in repository summary (text between licence and "1 Branch")

Results of GitLab environment info

Using GitLab cloud edition (gitlab.com).

Possible fixes

Not sure whether the commit count does not get imported or just not displayed correctly.