Make sure `total_count` and `errors_count` methods in `CodequalityReportsComparer` are implemented correctly

Problem

In my understanding, total_count is for checking all entries in the head report, and errors_count is for checking all error entries in the head report. Now, CodequalityReports can have only error type of entries, these methods should be identical in the CodequalityReportsComparer domain. However, currently it's inconsistent.

We should make sure what the pusposes/intentions on these methods.

cc @morefice


The following discussion from !48385 (merged) should be addressed:

Edited by Max Orefice