Do you mean that you want to know the top external senders who send emails to your Exchange online mailbox? If so, you could use the command below to check it:
Get-MessageTrace -StartDate 3/21/2022 -EndDate 3/31/2022 -Status Delivered | where {$_.SenderAddress -notlike "*@domain.onmicrosoft.com"} | Group SenderAddress | select Count,Name | Sort-Object Count -Descending
Please note: The Message Trace can only find logs within 10 days.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.