Wrong commits number

Hello, The amount of commits isn't correct when we are switching the branch to another one. It seems that only the master branch is displayed.