hi i want a built in function or a method to determine the number of letters in words the vowels and constants 

I know in php there is strlen is there an equivalent to it in python?

I tried to use sum but it did not work

```
def num_of_letters(word)
  (str)->int
'''

'''
sum(word)

```

I am a newbie in programming any help and explanation would be appreciated