Using Powershell to get Microsoft Exchange Object Counts
Microsoft
In case you might need to get an object count for your Microsoft Exchange environment, run this Powershell command, which will export the details to a CSV file (located in C:\).
Get-MailboxStatistics –Server Exchange-Server-Name | Export-CSV C:\Exchange_ObjCount.csv