[scm] Fix counting merges in two top authors: per project and per repository