Preload number of pipeline warnings for commits
What does this MR do?
https://gitlab.com/gitlab-org/gitlab-shell/-/commits/master page contains multiple SELECT COUNT(*) AS count_all, "ci_builds"."commit_id" AS ci_builds_commit_id FROM
requests. This MR fixes it by performing a single request for all warnings counts.