Added else if because new branch also contains 0 total_commits_count