I have given a simple text file with no special formatting, just a plain ASCII file, which has special symbols, numbers and words. I need to find the the number of words, letters and special symbols.

Here is my code.

```py
import re
with open("C:/Users/Nikhil/Downloads/stack.txt", "r") as data:
    data = data.read()

words = re.findall(r'\w+', data)
letters = re.findall(r'[a-zA-Z]', data)
pattern = '[~`@#$%^&*(_)+{}|/\.,<>?-]'
spl_symbols = re.findall(pattern, data)

print(len(words))
print(len(letters))
print(len(spl_symbols))

```

I have used regex to get the output, but the problem is i am unable to get the correct count of words, because `\w+` is matching numbers too. I would like the regex for the `words` variable to be able to exclude numbers 0-9 and underscores. I also would like it to be able to include apostrophes.