Three-Bean Soup with Nutty Rice