I must count the number of words in three texts.

```py
text1 = "He is tall, fat and ugly."

text2 = "He is a very fearful and crying boy, but intelligent."

text3 = "She has a pretty face, but she's not very smart."

```

I must use something like this:

```
def count_words(text):

    num_words = 0

```

---I must write the code here---

```
    return num_words

```

to then apply this:

```
    num_words = count_words(text1)
    print("Text 1")
    print("The word number is %d" % num_words)

    num_words = count_words(text2)
    print("Text 2")
    print("The word number is %d" % num_words)

    num_words = count_words(text3)
    print("Text 3")
    print("The word number is %d" % num_words)

```

How can I do it?