Implement CountDeadJobs for postgres replication queue
Implements CountDeadJobs for Postgres replication queue in preparation for 'praefect dataloss' command.
Relates to: #2167 (closed)
Implements CountDeadJobs for Postgres replication queue in preparation for 'praefect dataloss' command.
Relates to: #2167 (closed)