A quick powershell command to figure out the number of mailboxes per database:

(get-mailboxdatabase) | foreach-object {write-host $_.name (get-mailbox -database $_.name).count}

wKiom1cxpCbR0Dj4AAAsqUWonGI730.png