Human: Give me a Python program to code to count average length of words in a given text using the average length of the words. Assistant: 
Here is a Python program to code to count average length of words in a given text using the program

text = "This is a test"

# Calling the function
print((count_average_length(text)))

#Example Output
# 2.75

#Remember to inspect code for bugs.