def unread_count_for(user):
    return InboxMessage.objects.filter(to=user, read=False).count()
Returns the number of unread messages for the specified user.
dataset/ETHPy150Open mozilla/kitsune/kitsune/messages/utils.py/unread_count_for