How to check the number of messages in SQL Server replication distribution
With this command you can check the number of transactions in the distribution database.
SELECT count(*)
FROM [distribution].[dbo].[MSrepl_transactions]
where entry_time > '2021-08-31 06:00:00.00' and entry_time < '2021-08-31 13:35:09.880'