Allow specifying user in messages_count_unread()

Can we extend this function so that the unread messages of any user can be returned without duplicating this function again? Useful when using webservices.