get-mailbox -resultsize unlimited | where {$_.primarysmtpaddress -like "*@contoso.com"} | Measure-Object