This program calculates the number of letters in a str input. If the user types 'ns' it prints the number
of letters without the spaces

**This is the code**

```
name = input('Enter a sentence to calculate the number of letters: \n')
counter = str(len(name))

print(counter, ": with spaces.")
spaces = input("Type 'ns' to calculate the letters without the spaces \n")
counter_without_spaces = str(str.count(name))
if spaces == 'ns':
    print(counter_without_spaces)

input()

```

**This is the error in the terminal**

```
TypeError: count() takes at least 1 argument (0 given)

```