Then the magician brewed a powerful potion out of nine sorts of herbs which he had gathered himself all alone by moonlight , and he gave the youth nine spoonfuls of it daily for three days , which made him able to understand the language of birds .